Class FileRecordIterator

  • All Implemented Interfaces:
    RecordIterator

    public class FileRecordIterator
    extends Object
    implements RecordIterator
    Record cursor that returns unseen revisions in ascending order on every iteration.
    • Constructor Detail

      • FileRecordIterator

        public FileRecordIterator​(File[] logFiles,
                                  long startRevision,
                                  long stopRevision,
                                  NamespaceResolver resolver,
                                  NamePathResolver npResolver)
        Creates a new instance of this class.
        Parameters:
        logFiles - available log files, sorted ascending by age
        startRevision - start point (exclusive)
        stopRevision - stop point (inclusive)