org.apache.bookkeeper.client
Class LedgerSequence
java.lang.Object
org.apache.bookkeeper.client.LedgerSequence
- All Implemented Interfaces:
- Enumeration<LedgerEntry>
public class LedgerSequence
- extends Object
- implements Enumeration<LedgerEntry>
Sequence of entries of a ledger. Used to return a sequence of entries
upon an asynchornous read call.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration<LedgerEntry>
nextElement
public LedgerEntry nextElement()
throws NoSuchElementException
- Specified by:
nextElement
in interface Enumeration<LedgerEntry>
- Throws:
NoSuchElementException
size
public int size()