Uses of Interface
com.lmax.disruptor.BatchRewindStrategy
-
Packages that use BatchRewindStrategy 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 BatchRewindStrategy in com.lmax.disruptor
Classes in com.lmax.disruptor that implement BatchRewindStrategy Modifier and Type Class Description class
EventuallyGiveUpBatchRewindStrategy
Strategy for handling a rewindableException that will eventually delegate the exception to theExceptionHandler
after a specified number of attempts have been made.class
NanosecondPauseBatchRewindStrategy
Strategy for handling a rewindableException that will pause for a specified amount of nanos.class
SimpleBatchRewindStrategy
Batch rewind strategy that always rewindsMethods in com.lmax.disruptor with parameters of type BatchRewindStrategy Modifier and Type Method Description <T> BatchEventProcessor<T>
BatchEventProcessorBuilder. build(DataProvider<T> dataProvider, SequenceBarrier sequenceBarrier, RewindableEventHandler<? super T> rewindableEventHandler, BatchRewindStrategy batchRewindStrategy)
Construct aEventProcessor
that will automatically track the progress by updating its sequence when theEventHandler.onEvent(Object, long, boolean)
method returns. -
Uses of BatchRewindStrategy in com.lmax.disruptor.dsl
Methods in com.lmax.disruptor.dsl with parameters of type BatchRewindStrategy Modifier and Type Method Description EventHandlerGroup<T>
Disruptor. handleEventsWith(BatchRewindStrategy batchRewindStrategy, RewindableEventHandler<? super T>... handlers)
Set up event handlers to handle events from the ring buffer.EventHandlerGroup<T>
EventHandlerGroup. handleEventsWith(BatchRewindStrategy batchRewindStrategy, RewindableEventHandler<? super T>... handlers)
Set up batch handlers to handle events from the ring buffer.EventHandlerGroup<T>
EventHandlerGroup. then(BatchRewindStrategy batchRewindStrategy, RewindableEventHandler<? super T>... handlers)
Set up batch handlers to consume events from the ring buffer.
-