com.lmax.disruptor
Class BatchConsumer.SequenceTrackerCallback

java.lang.Object
  extended by com.lmax.disruptor.BatchConsumer.SequenceTrackerCallback
Enclosing class:
BatchConsumer<T extends AbstractEntry>

public final class BatchConsumer.SequenceTrackerCallback
extends java.lang.Object

Used by the BatchHandler to signal when it has completed consuming a given sequence.


Constructor Summary
BatchConsumer.SequenceTrackerCallback()
           
 
Method Summary
 void onCompleted(long sequence)
          Notify that the handler has consumed up to a given sequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchConsumer.SequenceTrackerCallback

public BatchConsumer.SequenceTrackerCallback()
Method Detail

onCompleted

public void onCompleted(long sequence)
Notify that the handler has consumed up to a given sequence.

Parameters:
sequence - that has been consumed.


Copyright © 2011 LMAX Ltd. All Rights Reserved.