Class BookKeeperAdmin.LedgerEntriesIterator

  • All Implemented Interfaces:
    java.util.Iterator<LedgerEntry>
    Enclosing class:
    BookKeeperAdmin

    class BookKeeperAdmin.LedgerEntriesIterator
    extends java.lang.Object
    implements java.util.Iterator<LedgerEntry>
    • Field Detail

      • ledgerId

        final long ledgerId
      • lastEntryId

        final long lastEntryId
      • nextEntryId

        long nextEntryId
    • Constructor Detail

      • LedgerEntriesIterator

        public LedgerEntriesIterator​(long ledgerId,
                                     long firstEntry,
                                     long lastEntry)
                              throws java.lang.InterruptedException,
                                     BKException
        Throws:
        java.lang.InterruptedException
        BKException
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<LedgerEntry>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<LedgerEntry>