|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use EventHandler | |
|---|---|
| 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 | |
| Uses of EventHandler in com.lmax.disruptor |
|---|
| Subinterfaces of EventHandler in com.lmax.disruptor | |
|---|---|
interface |
SequenceReportingEventHandler<T>
Used by the BatchEventProcessor to set a callback allowing the EventHandler to notify
when it has finished consuming an event if this happens after the onEvent(Object, long, boolean) call. |
| Classes in com.lmax.disruptor that implement EventHandler | |
|---|---|
class |
AggregateEventHandler<T>
An aggregate collection of EventHandlers that get called in sequence for each event. |
| Constructors in com.lmax.disruptor with parameters of type EventHandler | |
|---|---|
AggregateEventHandler(EventHandler<T>... eventHandlers)
Construct an aggregate collection of EventHandlers to be called in sequence. |
|
BatchEventProcessor(RingBuffer<T> ringBuffer,
SequenceBarrier sequenceBarrier,
EventHandler<T> eventHandler)
Construct a EventProcessor that will automatically track the progress by updating its sequence when
the onEvent(Object, long, boolean) method returns. |
|
| Uses of EventHandler in com.lmax.disruptor.dsl |
|---|
| Methods in com.lmax.disruptor.dsl with parameters of type EventHandler | |
|---|---|
EventHandlerGroup<T> |
Disruptor.after(EventHandler<T>... handlers)
Create a group of event handlers to be used as a dependency. |
EventHandlerGroup<T> |
EventHandlerGroup.and(EventHandler<T>... handlers)
Create a new event handler group that combines the handlers in this group with handlers. |
SequenceBarrier |
Disruptor.getBarrierFor(EventHandler<T> handler)
Get the SequenceBarrier used by a specific handler. |
EventHandlerGroup<T> |
Disruptor.handleEventsWith(EventHandler<T>... handlers)
Set up event handlers to handleEventException events from the ring buffer. |
EventHandlerGroup<T> |
EventHandlerGroup.handleEventsWith(EventHandler<T>... handlers)
Set up batch handlers to handleEventException events from the ring buffer. |
ExceptionHandlerSetting<?> |
Disruptor.handleExceptionsFor(EventHandler<T> eventHandler)
Override the default exception handler for a specific handler. |
EventHandlerGroup<T> |
EventHandlerGroup.then(EventHandler<T>... handlers)
Set up batch handlers to consume events from the ring buffer. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||