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.PrintStreamoutPrintStream to use(package private) VerboseModeverboseVerbose-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 voidclose()voidflush()voidprint(java.lang.String s)voidprintln(java.lang.String s)voidverbosePrintln(java.lang.String s)voidwrite(byte[] b)voidwrite(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:
printin interfaceOutputFormat
-
println
public void println(java.lang.String s)
- Specified by:
printlnin interfaceOutputFormat
-
flush
public void flush()
- Specified by:
flushin interfaceOutputFormat
-
verbosePrintln
public void verbosePrintln(java.lang.String s)
- Specified by:
verbosePrintlnin interfaceOutputFormat
-
write
public void write(int b)
- Specified by:
writein interfaceOutputFormat
-
write
public void write(byte[] b) throws java.io.IOException- Specified by:
writein interfaceOutputFormat- Throws:
java.io.IOException
-
close
public void close()
- Specified by:
closein interfaceOutputFormat
-
-