Interface TraceReader
-
- All Known Subinterfaces:
TraceReader.KeyOnlyTraceReader
- All Known Implementing Classes:
AbstractTraceReader,AdaptSizeTraceReader,AddressPenaltiesTraceReader,AddressTraceReader,ArcTraceReader,BinaryTraceReader,Cache2kTraceReader,CambridgeTraceReader,CamelabTraceReader,CloudPhysicsTraceReader,CordaTraceReader,GLCacheTraceReader,GradleTraceReader,K5cloudTraceReader,LirsTraceReader,LrbTraceReader,ObjectStoreTraceReader,OutbrainTraceReader,ScarabTraceReader,StorageTraceReader,SystorTraceReader,TencentBlockTraceReader,TencentPhotoTraceReader,TextTraceReader,TragenTraceReader,TwitterTraceReader,WikipediaTraceReader,YoutubeTraceReader
public interface TraceReaderA reader to an access trace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTraceReader.KeyOnlyTraceReaderA trace reader that that does not contain external event metadata.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Policy.Characteristic>characteristics()The event features that this trace supports.Stream<AccessEvent>events()Creates a stream that lazily reads the trace source.
-
-
-
Method Detail
-
characteristics
Set<Policy.Characteristic> characteristics()
The event features that this trace supports.
-
events
Stream<AccessEvent> events()
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
closemethod is invoked after the stream operations are completed.- Returns:
- a lazy stream of cache events
-
-