Package com.lmax.disruptor.dsl
Class ExceptionHandlerSetting<T>
java.lang.Object
com.lmax.disruptor.dsl.ExceptionHandlerSetting<T>
- Type Parameters:
T- the type of event being handled.
A support class used as part of setting an exception handler for a specific event handler.
For example:
disruptorWizard.handleExceptionsIn(eventHandler).with(exceptionHandler);-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConsumerRepositoryprivate final EventHandlerIdentity -
Constructor Summary
ConstructorsConstructorDescriptionExceptionHandlerSetting(EventHandlerIdentity handlerIdentity, ConsumerRepository consumerRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoidwith(ExceptionHandler<? super T> exceptionHandler) Specify theExceptionHandlerto use with the event handler.
-
Field Details
-
handlerIdentity
-
consumerRepository
-
-
Constructor Details
-
ExceptionHandlerSetting
ExceptionHandlerSetting(EventHandlerIdentity handlerIdentity, ConsumerRepository consumerRepository)
-
-
Method Details
-
with
Specify theExceptionHandlerto use with the event handler.- Parameters:
exceptionHandler- the exception handler to use.
-