Class AsyncLoggerConfigDefaultExceptionHandler
java.lang.Object
org.apache.logging.log4j.core.async.AsyncLoggerConfigDefaultExceptionHandler
- All Implemented Interfaces:
com.lmax.disruptor.ExceptionHandler<AsyncLoggerConfigDisruptor.Log4jEventWrapper>
Default disruptor exception handler for errors that occur in the AsyncLogger background thread.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEventException
(Throwable throwable, long sequence, AsyncLoggerConfigDisruptor.Log4jEventWrapper event) void
handleOnShutdownException
(Throwable throwable) void
handleOnStartException
(Throwable throwable)
-
Constructor Details
-
AsyncLoggerConfigDefaultExceptionHandler
public AsyncLoggerConfigDefaultExceptionHandler()
-
-
Method Details
-
handleEventException
public void handleEventException(Throwable throwable, long sequence, AsyncLoggerConfigDisruptor.Log4jEventWrapper event) - Specified by:
handleEventException
in interfacecom.lmax.disruptor.ExceptionHandler<T>
-
handleOnStartException
- Specified by:
handleOnStartException
in interfacecom.lmax.disruptor.ExceptionHandler<T>
-
handleOnShutdownException
- Specified by:
handleOnShutdownException
in interfacecom.lmax.disruptor.ExceptionHandler<T>
-