public final class AdaptSizeTraceReader extends TextTraceReader
The AdaptSize simulator treats identical keys with different weights as unique entries, rather than as an update to that entry's size. This behavior is emulated by a key hash.
TraceReader.KeyOnlyTraceReaderfilePath| Constructor and Description |
|---|
AdaptSizeTraceReader(String filePath) |
| 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.
|
linesreadFilepublic AdaptSizeTraceReader(String filePath)
public Set<Policy.Characteristic> characteristics()
TraceReaderpublic 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.