Uses of Interface
com.lmax.disruptor.ExceptionHandler
Packages that use ExceptionHandler
Package
Description
The Disruptor is a concurrent programming framework for exchanging and coordinating work as a continuous series of events.
-
Uses of ExceptionHandler in com.lmax.disruptor
Classes in com.lmax.disruptor that implement ExceptionHandlerModifier and TypeClassDescriptionfinal class
Convenience implementation of an exception handler that using standard JDK logging to log the exception asLevel
.SEVERE and re-throw it wrapped in aRuntimeException
final class
Convenience implementation of an exception handler that using standard JDK logging to log the exception asLevel
.INFOFields in com.lmax.disruptor declared as ExceptionHandlerModifier and TypeFieldDescriptionprivate ExceptionHandler
<? super T> BatchEventProcessor.exceptionHandler
private final ExceptionHandler
<? super T> WorkProcessor.exceptionHandler
private static final ExceptionHandler
<Object> ExceptionHandlers.DefaultExceptionHandlerHolder.HANDLER
Methods in com.lmax.disruptor that return ExceptionHandlerModifier and TypeMethodDescriptionstatic ExceptionHandler
<Object> ExceptionHandlers.defaultHandler()
Get a reference to the defaultExceptionHandler
instance.private ExceptionHandler
<? super T> BatchEventProcessor.getExceptionHandler()
Methods in com.lmax.disruptor with parameters of type ExceptionHandlerModifier and TypeMethodDescriptionvoid
BatchEventProcessor.setExceptionHandler
(ExceptionHandler<? super T> exceptionHandler) Set a newExceptionHandler
for handling exceptions propagated out of theBatchEventProcessor
Constructors in com.lmax.disruptor with parameters of type ExceptionHandlerModifierConstructorDescriptionWorkerPool
(EventFactory<T> eventFactory, ExceptionHandler<? super T> exceptionHandler, WorkHandler<? super T>... workHandlers) Construct a work pool with an internalRingBuffer
for convenience.WorkerPool
(RingBuffer<T> ringBuffer, SequenceBarrier sequenceBarrier, ExceptionHandler<? super T> exceptionHandler, WorkHandler<? super T>... workHandlers) Create a worker pool to enable an array ofWorkHandler
s to consume published sequences.WorkProcessor
(RingBuffer<T> ringBuffer, SequenceBarrier sequenceBarrier, WorkHandler<? super T> workHandler, ExceptionHandler<? super T> exceptionHandler, Sequence workSequence) Construct aWorkProcessor
. -
Uses of ExceptionHandler in com.lmax.disruptor.dsl
Classes in com.lmax.disruptor.dsl that implement ExceptionHandlerFields in com.lmax.disruptor.dsl declared as ExceptionHandlerModifier and TypeFieldDescriptionprivate ExceptionHandler
<? super T> ExceptionHandlerWrapper.delegate
private ExceptionHandler
<? super T> Disruptor.exceptionHandler
Methods in com.lmax.disruptor.dsl that return ExceptionHandlerModifier and TypeMethodDescriptionprivate ExceptionHandler
<? super T> ExceptionHandlerWrapper.getExceptionHandler()
Methods in com.lmax.disruptor.dsl with parameters of type ExceptionHandlerModifier and TypeMethodDescriptionvoid
Disruptor.handleExceptionsWith
(ExceptionHandler<? super T> exceptionHandler) Deprecated.This method only applies to future event handlers.void
Disruptor.setDefaultExceptionHandler
(ExceptionHandler<? super T> exceptionHandler) Specify an exception handler to be used for event handlers and worker pools created by this Disruptor.void
ExceptionHandlerWrapper.switchTo
(ExceptionHandler<? super T> exceptionHandler) void
ExceptionHandlerSetting.with
(ExceptionHandler<? super T> exceptionHandler) Specify theExceptionHandler
to use with the event handler.