Interface ETLPBByteStream
- All Superinterfaces:
AutoCloseable,Closeable,ETLBulkStream,EventStream,Iterable<Event>
- All Known Implementing Classes:
FileBackedPBEventStream
Event streams can optionally implement bulk transfer friendly methods.
If this interface is implemented, then ETL code will use bulk transfers whan moving data.
- Author:
- mshankar
-
Method Summary
Modifier and TypeMethodDescriptiongetByteChannel(BasicContext context) Get a byte channel positioned at the first event (after the header).Methods inherited from interface org.epics.archiverappliance.etl.ETLBulkStream
getFirstEventMethods inherited from interface org.epics.archiverappliance.EventStream
getDescriptionMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getByteChannel
Get a byte channel positioned at the first event (after the header).- Parameters:
context- BasicContext- Returns:
- ReadableByteChannel A channel that can read bytes.
- Throws:
IOException-- See Also:
-