Class MemoryJournal.MemoryRecordIterator

    • Constructor Detail

      • MemoryRecordIterator

        public MemoryRecordIterator​(long startRevision,
                                    long stopRevision)
        Create a new instance of this class.
        Parameters:
        startRevision - start revision
        stopRevision - stop revision
    • Method Detail

      • hasNext

        public boolean hasNext()
        Return a flag indicating whether there are more records.
        Specified by:
        hasNext in interface RecordIterator
        Returns:
        true if there are more records; false otherwise
      • close

        public void close()
        Close this iterator. Releases all associated resources.
        Specified by:
        close in interface RecordIterator