Class FileBackedPBEventStreamPositionBasedIterator
- java.lang.Object
-
- edu.stanford.slac.archiverappliance.PlainPB.FileBackedPBEventStreamPositionBasedIterator
-
- All Implemented Interfaces:
FileBackedPBEventStreamIterator
,Closeable
,AutoCloseable
,Iterator<Event>
public class FileBackedPBEventStreamPositionBasedIterator extends Object implements FileBackedPBEventStreamIterator
An iterator for a FileBackedPBEventStream.- Author:
- mshankar
-
-
Constructor Summary
Constructors Constructor Description FileBackedPBEventStreamPositionBasedIterator(Path path, long startFilePos, long endFilePos, short year, ArchDBRTypes type)
-
-
-
Constructor Detail
-
FileBackedPBEventStreamPositionBasedIterator
public FileBackedPBEventStreamPositionBasedIterator(Path path, long startFilePos, long endFilePos, short year, ArchDBRTypes type) throws IOException
- Throws:
IOException
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-