Class AbstractAsyncExceptionHandler<T>

  • All Implemented Interfaces:
    com.lmax.disruptor.ExceptionHandler<T>
    Direct Known Subclasses:
    AsyncLoggerConfigDefaultExceptionHandler, AsyncLoggerDefaultExceptionHandler

    abstract class AbstractAsyncExceptionHandler<T>
    extends java.lang.Object
    implements com.lmax.disruptor.ExceptionHandler<T>
    Default disruptor exception handler for errors that occur in the AsyncLogger background thread.
    • Constructor Detail

      • AbstractAsyncExceptionHandler

        AbstractAsyncExceptionHandler()
    • Method Detail

      • handleEventException

        public void handleEventException​(java.lang.Throwable throwable,
                                         long sequence,
                                         T event)
        Specified by:
        handleEventException in interface com.lmax.disruptor.ExceptionHandler<T>
      • handleOnStartException

        public void handleOnStartException​(java.lang.Throwable throwable)
        Specified by:
        handleOnStartException in interface com.lmax.disruptor.ExceptionHandler<T>
      • handleOnShutdownException

        public void handleOnShutdownException​(java.lang.Throwable throwable)
        Specified by:
        handleOnShutdownException in interface com.lmax.disruptor.ExceptionHandler<T>