Class LrbTraceReader

  • All Implemented Interfaces:
    TraceReader

    public final class LrbTraceReader
    extends TextTraceReader
    A reader for the trace files provided by the authors of the LRB algorithm. See traces.
    • Constructor Detail

      • LrbTraceReader

        public LrbTraceReader​(String filePath)
    • Method Detail

      • events

        public Stream<AccessEvent> events()
        Description copied from interface: TraceReader
        Creates a stream that lazily reads the trace source.

        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.

        Returns:
        a lazy stream of cache events