Class AsyncLoggerConfigDefaultExceptionHandler

java.lang.Object
org.apache.logging.log4j.core.async.AsyncLoggerConfigDefaultExceptionHandler
All Implemented Interfaces:
com.lmax.disruptor.ExceptionHandler<AsyncLoggerConfigDisruptor.Log4jEventWrapper>

public class AsyncLoggerConfigDefaultExceptionHandler extends Object
Default disruptor exception handler for errors that occur in the AsyncLogger background thread.
  • Constructor Details

    • AsyncLoggerConfigDefaultExceptionHandler

      public AsyncLoggerConfigDefaultExceptionHandler()
  • Method Details

    • handleEventException

      public void handleEventException(Throwable throwable, long sequence, AsyncLoggerConfigDisruptor.Log4jEventWrapper 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>