All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Class Description AbstractSequencer Base class for the various sequencer types (single/multi).AggregateEventHandler<T> An aggregate collection ofEventHandler
s that get called in sequence for each event.AlertException Used to alertEventProcessor
s waiting at aSequenceBarrier
of status changes.BatchEventProcessor<T> Convenience class for handling the batching semantics of consuming entries from aRingBuffer
and delegating the available events to anEventHandler
.BatchEventProcessorBuilder BatchRewindStrategy Strategy for handling a rewindableException when processing an event.BlockingWaitStrategy Blocking strategy that uses a lock and condition variable forEventProcessor
s waiting on a barrier.BusySpinWaitStrategy Busy Spin strategy that uses a busy spin loop forEventProcessor
s waiting on a barrier.Cursored Implementors of this interface must provide a single long value that represents their current cursor value.DaemonThreadFactory Access to a ThreadFactory instance.DataProvider<T> Typically used to decouple classes fromRingBuffer
to allow easier testingDisruptor<T> A DSL-style API for setting up the disruptor pattern around a ring buffer (aka the Builder pattern).EventFactory<T> Called by theRingBuffer
to pre-populate all the events to fill the RingBuffer.EventHandler<T> Callback interface to be implemented for processing events as they become available in theRingBuffer
EventHandlerGroup<T> A group ofEventProcessor
s used as part of theDisruptor
.EventHandlerIdentity EventPoller<T> Experimental poll-based interface for the Disruptor.EventPoller.Handler<T> A callback used to process eventsEventPoller.PollState Indicates the result of a call toEventPoller.poll(Handler)
EventProcessor An EventProcessor needs to be an implementation of a runnable that will poll for events from theRingBuffer
using the appropriate wait strategy.EventProcessorFactory<T> A factory interface to make it possible to include custom event processors in a chain:EventSequencer<T> Pulls together the low-level data access and sequencing operations ofRingBuffer
EventSink<E> Write interface forRingBuffer
.EventTranslator<T> Implementations translate (write) data representations into events claimed from theRingBuffer
.EventTranslatorOneArg<T,A> Implementations translate another data representations into events claimed from theRingBuffer
EventTranslatorThreeArg<T,A,B,C> Implementations translate another data representations into events claimed from theRingBuffer
EventTranslatorTwoArg<T,A,B> Implementations translate another data representations into events claimed from theRingBuffer
EventTranslatorVararg<T> Implementations translate another data representations into events claimed from theRingBuffer
EventuallyGiveUpBatchRewindStrategy Strategy for handling a rewindableException that will eventually delegate the exception to theExceptionHandler
after a specified number of attempts have been made.ExceptionHandler<T> Callback handler for uncaught exceptions in the event processing cycle of theBatchEventProcessor
ExceptionHandlers Provides static methods for accessing a defaultExceptionHandler
object.ExceptionHandlerSetting<T> A support class used as part of setting an exception handler for a specific event handler.ExceptionHandlerWrapper<T> A mutable exception handler wrapperFatalExceptionHandler Convenience implementation of an exception handler that uses the standard JDK logging ofSystem.Logger
to log the exception asSystem.Logger.Level
.ERROR and re-throw it wrapped in aRuntimeException
FixedSequenceGroup Hides a group of Sequences behind a single SequenceIgnoreExceptionHandler Convenience implementation of an exception handler that uses the standard JDK logging ofSystem.Logger
to log the exception asSystem.Logger.Level
.INFOInsufficientCapacityException Exception thrown when it is not possible to insert a value into the ring buffer without it wrapping the consuming sequences.LiteBlockingWaitStrategy Variation of theBlockingWaitStrategy
that attempts to elide conditional wake-ups when the lock is uncontended.LiteTimeoutBlockingWaitStrategy Variation of theTimeoutBlockingWaitStrategy
that attempts to elide conditional wake-ups when the lock is uncontended.MultiProducerSequencer Coordinator for claiming sequences for access to a data structure while tracking dependentSequence
s.NanosecondPauseBatchRewindStrategy Strategy for handling a rewindableException that will pause for a specified amount of nanos.NoOpEventProcessor No operation version of aEventProcessor
that simply tracks aSequence
.PhasedBackoffWaitStrategy Phased wait strategy for waitingEventProcessor
s on a barrier.ProducerType Defines producer types to support creation of RingBuffer with correct sequencer and publisher.RewindableEventHandler<T> Callback interface to be implemented for processing events as they become available in theRingBuffer
with support for throwing aRewindableException
when an even cannot be processed currently but may succeed on retry.RewindableException A special exception that can be thrown while using theBatchEventProcessor
.RewindAction The result returned from theBatchRewindStrategy
that decides whether to rewind or throw the exceptionRewindHandler RingBuffer<E> Ring based store of reusable entries containing the data representing an event being exchanged between event producer andEventProcessor
s.Sequence Concurrent sequence class used for tracking the progress of the ring buffer and event processors.SequenceBarrier Coordination barrier for tracking the cursor for publishers and sequence of dependentEventProcessor
s for processing a data structureSequenced Operations related to the sequencing of items in aRingBuffer
.SequenceGroup Sequencer Coordinates claiming sequences for access to a data structure while tracking dependentSequence
sSimpleBatchRewindStrategy Batch rewind strategy that always rewindsSingleProducerSequencer Coordinator for claiming sequences for access to a data structure while tracking dependentSequence
s.SleepingWaitStrategy Sleeping strategy that initially spins, then uses a Thread.yield(), and eventually sleep (LockSupport.parkNanos(n)
) for the minimum number of nanos the OS and JVM will allow while theEventProcessor
s are waiting on a barrier.ThreadHints Deprecated. Use Thread.onSpinWait() directly.TimeoutBlockingWaitStrategy Blocking strategy that uses a lock and condition variable forEventProcessor
s waiting on a barrier.TimeoutException Wait strategies may throw this Exception to inform callers that a message has not been detected within a specific time window.Util Set of common functions used by the Disruptor.WaitStrategy Strategy employed for makingEventProcessor
s wait on a cursorSequence
.YieldingWaitStrategy Yielding strategy that uses a Thread.yield() forEventProcessor
s waiting on a barrier after an initially spinning.