| java.lang.Object com.tc.util.sequence.BatchSequence
BatchSequence | final public class BatchSequence implements BatchSequenceReceiver,Sequence(Code) | | This Sequence deals with batches. It keeps a next batch around to avoid
pauses and always requests a new next batch as soon as the old next batch is
promoted to current batch
author: steve, orion |
Method Summary | |
public synchronized long | current() | public synchronized boolean | hasNext() | public synchronized long | next() | public synchronized void | setNextBatch(long start, long end) |
current | public synchronized long current()(Code) | | |
hasNext | public synchronized boolean hasNext()(Code) | | |
next | public synchronized long next()(Code) | | |
setNextBatch | public synchronized void setNextBatch(long start, long end)(Code) | | |
|
|