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 ofEventHandlers that get called in sequence for each event.AlertException Used to alertEventProcessors waiting at aSequenceBarrierof status changes.BatchEventProcessor<T> Convenience class for handling the batching semantics of consuming entries from aRingBufferand 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 forEventProcessors waiting on a barrier.BusySpinWaitStrategy Busy Spin strategy that uses a busy spin loop forEventProcessors 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 fromRingBufferto 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 theRingBufferto pre-populate all the events to fill the RingBuffer.EventHandler<T> Callback interface to be implemented for processing events as they become available in theRingBufferEventHandlerGroup<T> A group ofEventProcessors 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 theRingBufferusing 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 ofRingBufferEventSink<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 theRingBufferEventTranslatorThreeArg<T,A,B,C> Implementations translate another data representations into events claimed from theRingBufferEventTranslatorTwoArg<T,A,B> Implementations translate another data representations into events claimed from theRingBufferEventTranslatorVararg<T> Implementations translate another data representations into events claimed from theRingBufferEventuallyGiveUpBatchRewindStrategy Strategy for handling a rewindableException that will eventually delegate the exception to theExceptionHandlerafter a specified number of attempts have been made.ExceptionHandler<T> Callback handler for uncaught exceptions in the event processing cycle of theBatchEventProcessorExceptionHandlers Provides static methods for accessing a defaultExceptionHandlerobject.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.Loggerto log the exception asSystem.Logger.Level.ERROR and re-throw it wrapped in aRuntimeExceptionFixedSequenceGroup Hides a group of Sequences behind a single SequenceIgnoreExceptionHandler Convenience implementation of an exception handler that uses the standard JDK logging ofSystem.Loggerto 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 theBlockingWaitStrategythat attempts to elide conditional wake-ups when the lock is uncontended.LiteTimeoutBlockingWaitStrategy Variation of theTimeoutBlockingWaitStrategythat attempts to elide conditional wake-ups when the lock is uncontended.MultiProducerSequencer Coordinator for claiming sequences for access to a data structure while tracking dependentSequences.NanosecondPauseBatchRewindStrategy Strategy for handling a rewindableException that will pause for a specified amount of nanos.NoOpEventProcessor No operation version of aEventProcessorthat simply tracks aSequence.PhasedBackoffWaitStrategy Phased wait strategy for waitingEventProcessors 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 theRingBufferwith support for throwing aRewindableExceptionwhen 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 theBatchRewindStrategythat 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 andEventProcessors.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 dependentEventProcessors 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 dependentSequencesSimpleBatchRewindStrategy Batch rewind strategy that always rewindsSingleProducerSequencer Coordinator for claiming sequences for access to a data structure while tracking dependentSequences.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 theEventProcessors are waiting on a barrier.ThreadHints Deprecated. Use Thread.onSpinWait() directly.TimeoutBlockingWaitStrategy Blocking strategy that uses a lock and condition variable forEventProcessors 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 makingEventProcessors wait on a cursorSequence.YieldingWaitStrategy Yielding strategy that uses a Thread.yield() forEventProcessors waiting on a barrier after an initially spinning.