Interface TraceReader.KeyOnlyTraceReader

    • Method Detail

      • events

        default 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.

        Specified by:
        events in interface TraceReader
        Returns:
        a lazy stream of cache events