Package org.openjdk.jmh.runner.format
Class AbstractOutputFormat
- java.lang.Object
-
- org.openjdk.jmh.runner.format.AbstractOutputFormat
-
- All Implemented Interfaces:
OutputFormat
- Direct Known Subclasses:
SilentFormat
,TextReportFormat
abstract class AbstractOutputFormat extends java.lang.Object implements OutputFormat
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.io.PrintStream
out
PrintStream to use(package private) VerboseMode
verbose
Verbose-mode?
-
Constructor Summary
Constructors Constructor Description AbstractOutputFormat(java.io.PrintStream out, VerboseMode verbose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
void
print(java.lang.String s)
void
println(java.lang.String s)
void
verbosePrintln(java.lang.String s)
void
write(byte[] b)
void
write(int b)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openjdk.jmh.runner.format.OutputFormat
endBenchmark, endRun, iteration, iterationResult, startBenchmark, startRun
-
-
-
-
Field Detail
-
verbose
final VerboseMode verbose
Verbose-mode?
-
out
final java.io.PrintStream out
PrintStream to use
-
-
Constructor Detail
-
AbstractOutputFormat
public AbstractOutputFormat(java.io.PrintStream out, VerboseMode verbose)
-
-
Method Detail
-
print
public void print(java.lang.String s)
- Specified by:
print
in interfaceOutputFormat
-
println
public void println(java.lang.String s)
- Specified by:
println
in interfaceOutputFormat
-
flush
public void flush()
- Specified by:
flush
in interfaceOutputFormat
-
verbosePrintln
public void verbosePrintln(java.lang.String s)
- Specified by:
verbosePrintln
in interfaceOutputFormat
-
write
public void write(int b)
- Specified by:
write
in interfaceOutputFormat
-
write
public void write(byte[] b) throws java.io.IOException
- Specified by:
write
in interfaceOutputFormat
- Throws:
java.io.IOException
-
close
public void close()
- Specified by:
close
in interfaceOutputFormat
-
-