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
Default disruptor exception handler for errors that occur in the AsyncLogger background thread.
  • Constructor Details

    • AsyncLoggerDefaultExceptionHandler

      public AsyncLoggerDefaultExceptionHandler()
  • Method Details

    • handleEventException

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

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

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