public interface TraceReader
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TraceReader.KeyOnlyTraceReader
A trace reader that that does not contain external event metadata.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Policy.Characteristic> |
characteristics()
The event features that this trace supports.
|
Stream<AccessEvent> |
events()
Creates a stream that lazily reads the trace source.
|
Set<Policy.Characteristic> characteristics()
Stream<AccessEvent> events()
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.