Uses of Interface
com.lmax.disruptor.EventHandlerIdentity
-
Packages that use EventHandlerIdentity 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 A DSL-style API for setting up the disruptor pattern around a ring buffer. -
-
Uses of EventHandlerIdentity in com.lmax.disruptor
Subinterfaces of EventHandlerIdentity in com.lmax.disruptor Modifier and Type Interface Description interfaceEventHandler<T>Callback interface to be implemented for processing events as they become available in theRingBuffer(package private) interfacecom.lmax.disruptor.EventHandlerBase<T>interfaceRewindableEventHandler<T>Callback interface to be implemented for processing events as they become available in theRingBufferwith support for throwing aRewindableExceptionwhen an even cannot be processed currently but may succeed on retry.interfaceSequenceReportingEventHandler<T>Used by theBatchEventProcessorto set a callback allowing theEventHandlerto notify when it has finished consuming an event if this happens after theEventHandler.onEvent(Object, long, boolean)call.Classes in com.lmax.disruptor that implement EventHandlerIdentity Modifier and Type Class Description classAggregateEventHandler<T>An aggregate collection ofEventHandlers that get called in sequence for each event. -
Uses of EventHandlerIdentity in com.lmax.disruptor.dsl
Methods in com.lmax.disruptor.dsl with parameters of type EventHandlerIdentity Modifier and Type Method Description EventHandlerGroup<T>Disruptor. after(EventHandlerIdentity... handlers)Create a group of event handlers to be used as a dependency.SequenceBarrierDisruptor. getBarrierFor(EventHandlerIdentity handler)Get theSequenceBarrierused by a specific handler.longDisruptor. getSequenceValueFor(EventHandlerIdentity handler)Gets the sequence value for the specified event handlers.ExceptionHandlerSetting<T>Disruptor. handleExceptionsFor(EventHandlerIdentity eventHandler)Override the default exception handler for a specific handler.
-