Class BinaryTraceWriter
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.simulator.parser.BinaryTraceWriter
-
- All Implemented Interfaces:
TraceWriter,Closeable,AutoCloseable
- Direct Known Subclasses:
CloudPhysicsTraceWriter
public abstract class BinaryTraceWriter extends Object implements TraceWriter
A skeletal implementation that writes to the trace file as binary data.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBinaryTraceWriter(OutputStream output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected DataOutputStreamwriter()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.benmanes.caffeine.cache.simulator.parser.TraceWriter
writeEvent, writeFooter, writeHeader
-
-
-
-
Constructor Detail
-
BinaryTraceWriter
protected BinaryTraceWriter(OutputStream output)
-
-
Method Detail
-
writer
protected DataOutputStream writer()
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-