class BookKeeperAdmin.LedgerEntriesIterator extends java.lang.Object implements java.util.Iterator<LedgerEntry>
| Modifier and Type | Field and Description |
|---|---|
(package private) LedgerEntry |
currentEntry |
(package private) LedgerHandle |
handle |
(package private) long |
lastEntryId |
(package private) long |
ledgerId |
(package private) long |
nextEntryId |
| Constructor and Description |
|---|
LedgerEntriesIterator(long ledgerId,
long firstEntry,
long lastEntry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
LedgerEntry |
next() |
void |
remove() |
final LedgerHandle handle
final long ledgerId
final long lastEntryId
long nextEntryId
LedgerEntry currentEntry
public LedgerEntriesIterator(long ledgerId,
long firstEntry,
long lastEntry)
throws java.lang.InterruptedException,
BKException
java.lang.InterruptedExceptionBKExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator<LedgerEntry>public LedgerEntry next()
next in interface java.util.Iterator<LedgerEntry>public void remove()
remove in interface java.util.Iterator<LedgerEntry>Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.