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 Summary
Constructors Constructor Description AsyncLoggerConfigDefaultExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleEventException(Throwable throwable, long sequence, T event)
void
handleOnShutdownException(Throwable throwable)
void
handleOnStartException(Throwable throwable)
-
-
-
Method Detail
-
handleEventException
public void handleEventException(Throwable throwable, long sequence, T event)
- Specified by:
handleEventException
in interfacecom.lmax.disruptor.ExceptionHandler<T>
-
handleOnStartException
public void handleOnStartException(Throwable throwable)
- Specified by:
handleOnStartException
in interfacecom.lmax.disruptor.ExceptionHandler<T>
-
handleOnShutdownException
public void handleOnShutdownException(Throwable throwable)
- Specified by:
handleOnShutdownException
in interfacecom.lmax.disruptor.ExceptionHandler<T>
-
-