public abstract class BinaryTraceReader extends AbstractTraceReader
TraceReader.KeyOnlyTraceReaderfilePath| Modifier | Constructor and Description |
|---|---|
protected |
BinaryTraceReader(String filePath) |
| Modifier and Type | Method and Description |
|---|---|
Stream<AccessEvent> |
events()
Creates a stream that lazily reads the trace source.
|
protected abstract AccessEvent |
readEvent(DataInputStream input)
Returns the next event from the input stream.
|
readFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacteristicsprotected BinaryTraceReader(String filePath)
public Stream<AccessEvent> events()
TraceReader
If timely disposal of underlying resources is required, the try-with-resources construct should
be used to ensure that the stream's close method is invoked after the
stream operations are completed.
protected abstract AccessEvent readEvent(DataInputStream input) throws IOException
IOException