public static interface TraceReader.KeyOnlyTraceReader extends TraceReader
TraceReader.KeyOnlyTraceReader| Modifier and Type | Method and Description |
|---|---|
default Set<Policy.Characteristic> |
characteristics()
The event features that this trace supports.
|
default Stream<AccessEvent> |
events()
Creates a stream that lazily reads the trace source.
|
LongStream |
keys() |
default Set<Policy.Characteristic> characteristics()
TraceReadercharacteristics in interface TraceReaderdefault 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.
events in interface TraceReaderLongStream keys()