Class DefaultIOTraceWriter
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.tool.iotrace.DefaultIOTraceWriter
-
- All Implemented Interfaces:
java.io.Flushable
,IOTraceWriter
public class DefaultIOTraceWriter extends java.lang.Object implements IOTraceWriter
ThisIOTraceWriter
implementation implements persistence through aWriter
instance.
-
-
Constructor Summary
Constructors Constructor Description DefaultIOTraceWriter(@NotNull java.io.Writer writer)
Create a new instance persisting towriter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
void
writeEntry(@NotNull java.lang.String entry)
Persist aentry
void
writeHeader(@NotNull java.lang.String header)
Persist aheader
-
-
-
Method Detail
-
writeHeader
public void writeHeader(@NotNull @NotNull java.lang.String header)
Description copied from interface:IOTraceWriter
Persist aheader
- Specified by:
writeHeader
in interfaceIOTraceWriter
-
writeEntry
public void writeEntry(@NotNull @NotNull java.lang.String entry)
Description copied from interface:IOTraceWriter
Persist aentry
- Specified by:
writeEntry
in interfaceIOTraceWriter
-
flush
public void flush()
- Specified by:
flush
in interfacejava.io.Flushable
- Specified by:
flush
in interfaceIOTraceWriter
-
-