public class CommittedEntryIterator extends Object implements Iterator<DLedgerEntry>
| Constructor and Description |
|---|
CommittedEntryIterator(DLedgerStore dLedgerStore,
long committedIndex,
AtomicLong applyingIndex,
long lastAppliedIndex,
Function<Long,Boolean> completeEntryCallback) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCompleteAckNums() |
long |
getIndex() |
boolean |
hasNext() |
DLedgerEntry |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic CommittedEntryIterator(DLedgerStore dLedgerStore, long committedIndex, AtomicLong applyingIndex, long lastAppliedIndex, Function<Long,Boolean> completeEntryCallback)
public boolean hasNext()
hasNext in interface Iterator<DLedgerEntry>public DLedgerEntry next()
next in interface Iterator<DLedgerEntry>public long getIndex()
public int getCompleteAckNums()
Copyright © 2023. All rights reserved.