Class AsyncLoggerConfigDisruptor.Log4jEventWrapperHandler

    • Field Detail

      • NOTIFY_PROGRESS_THRESHOLD

        private static final int NOTIFY_PROGRESS_THRESHOLD
        See Also:
        Constant Field Values
      • sequenceCallback

        private com.lmax.disruptor.Sequence sequenceCallback
      • counter

        private int counter
    • Constructor Detail

      • Log4jEventWrapperHandler

        private Log4jEventWrapperHandler()
    • Method Detail

      • setSequenceCallback

        public void setSequenceCallback​(com.lmax.disruptor.Sequence sequenceCallback)
        Specified by:
        setSequenceCallback in interface com.lmax.disruptor.SequenceReportingEventHandler<AsyncLoggerConfigDisruptor.Log4jEventWrapper>
      • notifyIntermediateProgress

        private void notifyIntermediateProgress​(long sequence)
        Notify the BatchEventProcessor that the sequence has progressed. Without this callback the sequence would not be progressed until the batch has completely finished.