Package org.apache.bookkeeper.client
Class BookKeeperAdmin.LedgerEntriesIterator
java.lang.Object
org.apache.bookkeeper.client.BookKeeperAdmin.LedgerEntriesIterator
- All Implemented Interfaces:
Iterator<LedgerEntry>
- Enclosing class:
- BookKeeperAdmin
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) LedgerEntry(package private) final LedgerHandle(package private) final long(package private) final long(package private) long -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
handle
-
ledgerId
final long ledgerId -
lastEntryId
final long lastEntryId -
nextEntryId
long nextEntryId -
currentEntry
LedgerEntry currentEntry
-
-
Constructor Details
-
LedgerEntriesIterator
public LedgerEntriesIterator(long ledgerId, long firstEntry, long lastEntry) throws InterruptedException, BKException - Throws:
InterruptedExceptionBKException
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<LedgerEntry>
-
next
- Specified by:
nextin interfaceIterator<LedgerEntry>
-
remove
public void remove()- Specified by:
removein interfaceIterator<LedgerEntry>
-