Class BookKeeperAdmin.LedgerEntriesIterable

  • All Implemented Interfaces:
    java.lang.Iterable<LedgerEntry>
    Enclosing class:
    BookKeeperAdmin

    class BookKeeperAdmin.LedgerEntriesIterable
    extends java.lang.Object
    implements java.lang.Iterable<LedgerEntry>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) long firstEntryId  
      (package private) long lastEntryId  
      (package private) long ledgerId  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<LedgerEntry> iterator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • ledgerId

        final long ledgerId
      • firstEntryId

        final long firstEntryId
      • lastEntryId

        final long lastEntryId
    • Constructor Detail

      • LedgerEntriesIterable

        public LedgerEntriesIterable​(long ledgerId,
                                     long firstEntry)
      • LedgerEntriesIterable

        public LedgerEntriesIterable​(long ledgerId,
                                     long firstEntry,
                                     long lastEntry)
    • Method Detail

      • iterator

        public java.util.Iterator<LedgerEntry> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<LedgerEntry>