|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lmax.disruptor.SequenceBatch
public final class SequenceBatch
Used to record the batch of sequences claimed in a RingBuffer
.
Constructor Summary | |
---|---|
SequenceBatch(int size)
Create a holder for tracking a batch of claimed sequences in a RingBuffer |
Method Summary | |
---|---|
long |
getEnd()
Get the end sequence of a batch. |
int |
getSize()
Get the size of the batch. |
long |
getStart()
Get the starting sequence for a batch. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequenceBatch(int size)
RingBuffer
size
- of the batch to claim.Method Detail |
---|
public long getEnd()
public int getSize()
public long getStart()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |