Class CordaTraceReader
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.simulator.parser.AbstractTraceReader
-
- com.github.benmanes.caffeine.cache.simulator.parser.BinaryTraceReader
-
- com.github.benmanes.caffeine.cache.simulator.parser.corda.CordaTraceReader
-
- All Implemented Interfaces:
TraceReader
public final class CordaTraceReader extends BinaryTraceReader
A reader for the trace files provided by R3.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.benmanes.caffeine.cache.simulator.parser.TraceReader
TraceReader.KeyOnlyTraceReader
-
-
Field Summary
-
Fields inherited from class com.github.benmanes.caffeine.cache.simulator.parser.AbstractTraceReader
filePath
-
-
Constructor Summary
Constructors Constructor Description CordaTraceReader(String filePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Policy.Characteristic>characteristics()The event features that this trace supports.protected AccessEventreadEvent(DataInputStream input)Returns the next event from the input stream.-
Methods inherited from class com.github.benmanes.caffeine.cache.simulator.parser.BinaryTraceReader
events
-
Methods inherited from class com.github.benmanes.caffeine.cache.simulator.parser.AbstractTraceReader
readFile, readInput
-
-
-
-
Constructor Detail
-
CordaTraceReader
public CordaTraceReader(String filePath)
-
-
Method Detail
-
characteristics
public Set<Policy.Characteristic> characteristics()
Description copied from interface:TraceReaderThe event features that this trace supports.
-
readEvent
protected AccessEvent readEvent(DataInputStream input) throws IOException
Description copied from class:BinaryTraceReaderReturns the next event from the input stream.- Specified by:
readEventin classBinaryTraceReader- Throws:
IOException
-
-