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 classEventuallyGiveUpBatchRewindStrategyStrategy for handling a rewindableException that will eventually delegate the exception to theExceptionHandlerafter a specified number of attempts have been made.classNanosecondPauseBatchRewindStrategyStrategy for handling a rewindableException that will pause for a specified amount of nanos.classSimpleBatchRewindStrategyBatch 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 aEventProcessorthat 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.
-