Class RingBufferLogEventTranslator

  • All Implemented Interfaces:
    com.lmax.disruptor.EventTranslator<RingBufferLogEvent>

    public class RingBufferLogEventTranslator
    extends Object
    implements com.lmax.disruptor.EventTranslator<RingBufferLogEvent>
    This class is responsible for writing elements that make up a log event into the ringbuffer RingBufferLogEvent. After this translator populated the ringbuffer event, the disruptor will update the sequence number so that the event can be consumed by another thread.