com.lmax.disruptor
Class BatchDescriptor

java.lang.Object
  extended by com.lmax.disruptor.BatchDescriptor

public final class BatchDescriptor
extends java.lang.Object

Used to record the batch of sequences claimed via a Sequencer.


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
 

Method Detail

getEnd

public long getEnd()
Get the end sequence of a batch.

Returns:
the end sequence in a batch

getSize

public int getSize()
Get the size of the batch.

Returns:
the size of the batch.

getStart

public long getStart()
Get the starting sequence for a batch.

Returns:
the starting sequence of a batch.


Copyright © 2011 LMAX Ltd. All Rights Reserved.