Class AsyncLoggerDefaultExceptionHandler
- java.lang.Object
-
- org.apache.logging.log4j.core.async.AsyncLoggerDefaultExceptionHandler
-
- All Implemented Interfaces:
com.lmax.disruptor.ExceptionHandler<RingBufferLogEvent>
public class AsyncLoggerDefaultExceptionHandler extends java.lang.Object
Default disruptor exception handler for errors that occur in the AsyncLogger background thread.
-
-
Constructor Summary
Constructors Constructor Description AsyncLoggerDefaultExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleEventException(java.lang.Throwable throwable, long sequence, T event)
void
handleOnShutdownException(java.lang.Throwable throwable)
void
handleOnStartException(java.lang.Throwable throwable)
-
-
-
Method Detail
-
handleEventException
public void handleEventException(java.lang.Throwable throwable, long sequence, T event)
- Specified by:
handleEventException
in interfacecom.lmax.disruptor.ExceptionHandler<T>
-
handleOnStartException
public void handleOnStartException(java.lang.Throwable throwable)
- Specified by:
handleOnStartException
in interfacecom.lmax.disruptor.ExceptionHandler<T>
-
handleOnShutdownException
public void handleOnShutdownException(java.lang.Throwable throwable)
- Specified by:
handleOnShutdownException
in interfacecom.lmax.disruptor.ExceptionHandler<T>
-
-