Class ExceptionHandlerSetting<T>

java.lang.Object
com.lmax.disruptor.dsl.ExceptionHandlerSetting<T>
Type Parameters:
T - the type of event being handled.

public class ExceptionHandlerSetting<T> extends Object
A support class used as part of setting an exception handler for a specific event handler. For example:
disruptorWizard.handleExceptionsIn(eventHandler).with(exceptionHandler);
  • Field Details

  • Constructor Details

  • Method Details

    • with

      public void with(ExceptionHandler<? super T> exceptionHandler)
      Specify the ExceptionHandler to use with the event handler.
      Parameters:
      exceptionHandler - the exception handler to use.