org.apache.logging.log4j.core.async

Class AsyncLoggerDefaultExceptionHandler

  • java.lang.Object
    • org.apache.logging.log4j.core.async.AsyncLoggerDefaultExceptionHandler
  • All Implemented Interfaces:
    com.lmax.disruptor.ExceptionHandler<RingBufferLogEvent>


    public class AsyncLoggerDefaultExceptionHandler
    extends Object
    implements com.lmax.disruptor.ExceptionHandler<RingBufferLogEvent>
    Default disruptor exception handler for errors that occur in the AsyncLogger background thread.
    • Constructor Detail

      • AsyncLoggerDefaultExceptionHandler

        public AsyncLoggerDefaultExceptionHandler()
    • Method Detail

      • handleEventException

        public void handleEventException(Throwable throwable,
                                         long sequence,
                                         RingBufferLogEvent event)
        Specified by:
        handleEventException in interface com.lmax.disruptor.ExceptionHandler<RingBufferLogEvent>
      • handleOnStartException

        public void handleOnStartException(Throwable throwable)
        Specified by:
        handleOnStartException in interface com.lmax.disruptor.ExceptionHandler<RingBufferLogEvent>
      • handleOnShutdownException

        public void handleOnShutdownException(Throwable throwable)
        Specified by:
        handleOnShutdownException in interface com.lmax.disruptor.ExceptionHandler<RingBufferLogEvent>

Copyright © 1999-2017 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.