Package com.lmax.disruptor
Interface Cursored
- All Known Subinterfaces:
Sequencer
- All Known Implementing Classes:
AbstractSequencer
,MultiProducerSequencer
,RingBuffer
,SingleProducerSequencer
,SingleProducerSequencerFields
,SingleProducerSequencerPad
public interface Cursored
Implementors of this interface must provide a single long value
that represents their current cursor value. Used during dynamic
add/remove of Sequences from a
SequenceGroups.addSequences(Object, java.util.concurrent.atomic.AtomicReferenceFieldUpdater, Cursored, Sequence...)
.-
Method Summary
-
Method Details
-
getCursor
long getCursor()Get the current cursor value.- Returns:
- current cursor value
-