Uses of Interface
com.lmax.disruptor.EventProcessor
Packages that use EventProcessor
Package
Description
The Disruptor is a concurrent programming framework for exchanging and coordinating work as a continuous series of events.
-
Uses of EventProcessor in com.lmax.disruptor
Classes in com.lmax.disruptor that implement EventProcessorModifier and TypeClassDescriptionfinal class
Convenience class for handling the batching semantics of consuming entries from aRingBuffer
and delegating the available events to anEventHandler
.final class
No operation version of aEventProcessor
that simply tracks aSequence
.final class
AWorkProcessor
wraps a singleWorkHandler
, effectively consuming the sequence and ensuring appropriate barriers. -
Uses of EventProcessor in com.lmax.disruptor.dsl
Fields in com.lmax.disruptor.dsl declared as EventProcessorMethods in com.lmax.disruptor.dsl that return EventProcessorModifier and TypeMethodDescriptionEventProcessorFactory.createEventProcessor
(RingBuffer<T> ringBuffer, Sequence[] barrierSequences) Create a new event processor that gates onbarrierSequences
.EventProcessorInfo.getEventProcessor()
ConsumerRepository.getEventProcessorFor
(EventHandler<T> handler) Methods in com.lmax.disruptor.dsl with parameters of type EventProcessorModifier and TypeMethodDescriptionvoid
ConsumerRepository.add
(EventProcessor processor) void
ConsumerRepository.add
(EventProcessor eventprocessor, EventHandler<? super T> handler, SequenceBarrier barrier) Disruptor.after
(EventProcessor... processors) Create a group of event processors to be used as a dependency.EventHandlerGroup.and
(EventProcessor... processors) Create a new event handler group that combines the handlers in this group with processors.Disruptor.handleEventsWith
(EventProcessor... processors) Set up custom event processors to handle events from the ring buffer.Constructors in com.lmax.disruptor.dsl with parameters of type EventProcessorModifierConstructorDescription(package private)
EventProcessorInfo
(EventProcessor eventprocessor, EventHandler<? super T> handler, SequenceBarrier barrier) -
Uses of EventProcessor in com.lmax.disruptor.util
Methods in com.lmax.disruptor.util with parameters of type EventProcessorModifier and TypeMethodDescriptionstatic Sequence[]
Util.getSequencesFor
(EventProcessor... processors) Get an array ofSequence
s for the passedEventProcessor
s