Class AsyncLoggerDefaultExceptionHandler
java.lang.Object
org.apache.logging.log4j.core.async.AsyncLoggerDefaultExceptionHandler
- All Implemented Interfaces:
com.lmax.disruptor.ExceptionHandler<RingBufferLogEvent>
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, RingBufferLogEvent event) void
handleOnShutdownException
(Throwable throwable) void
handleOnStartException
(Throwable throwable)
-
Constructor Details
-
AsyncLoggerDefaultExceptionHandler
public AsyncLoggerDefaultExceptionHandler()
-
-
Method Details
-
handleEventException
- 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>
-