com.lmax.disruptor.dsl
Class ExceptionHandlerSetting<T>

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

public class ExceptionHandlerSetting<T>
extends java.lang.Object

A support class used as part of setting an exception handler for a specific event handler. For example:

disruptorWizard.handleExceptionsIn(eventHandler).with(exceptionHandler);


Method Summary
 void with(ExceptionHandler exceptionHandler)
          Specify the ExceptionHandler to use with the event handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

with

public void with(ExceptionHandler exceptionHandler)
Specify the ExceptionHandler to use with the event handler.

Parameters:
exceptionHandler - the exception handler to use.


Copyright © 2011 LMAX Ltd. All Rights Reserved.