| Package | Description |
|---|---|
| com.lmax.disruptor |
The Disruptor is a concurrent programming framework for exchanging and coordinating work as a continuous series of events.
|
| com.lmax.disruptor.dsl |
| Modifier and Type | Class and Description |
|---|---|
class |
FatalExceptionHandler
Convenience implementation of an exception handler that using standard JDK logging to log
the exception as
Level.SEVERE and re-throw it wrapped in a RuntimeException |
class |
IgnoreExceptionHandler
Convenience implementation of an exception handler that using standard JDK logging to log
the exception as
Level.INFO |
| Modifier and Type | Method and Description |
|---|---|
void |
BatchEventProcessor.setExceptionHandler(ExceptionHandler exceptionHandler)
Set a new
ExceptionHandler for handling exceptions propagated out of the BatchEventProcessor |
| Constructor and Description |
|---|
WorkerPool(EventFactory<T> eventFactory,
ExceptionHandler exceptionHandler,
WorkHandler<T>... workHandlers)
Construct a work pool with an internal
RingBuffer for convenience. |
WorkerPool(RingBuffer<T> ringBuffer,
SequenceBarrier sequenceBarrier,
ExceptionHandler exceptionHandler,
WorkHandler<T>... workHandlers)
Create a worker pool to enable an array of
WorkHandlers to consume published sequences. |
WorkProcessor(RingBuffer<T> ringBuffer,
SequenceBarrier sequenceBarrier,
WorkHandler<T> workHandler,
ExceptionHandler exceptionHandler,
Sequence workSequence)
Construct a
WorkProcessor. |
| Modifier and Type | Method and Description |
|---|---|
void |
Disruptor.handleExceptionsWith(ExceptionHandler exceptionHandler)
Specify an exception handler to be used for any future event handlers.
|
void |
ExceptionHandlerSetting.with(ExceptionHandler exceptionHandler)
Specify the
ExceptionHandler to use with the event handler. |
Copyright © 2011 - 2013 LMAX Ltd. All Rights Reserved.