Package org.openjdk.jmc.flightrecorder
Class RecordingPrinter
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.RecordingPrinter
-
public final class RecordingPrinter extends Object
Prints a flight recording to aPrintWriter
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RecordingPrinter.Verbosity
Verbosity level to use when printing events.
-
Constructor Summary
Constructors Constructor Description RecordingPrinter(PrintWriter output, RecordingPrinter.Verbosity verbosity, boolean formatValues)
RecordingPrinter(PrintWriter output, RecordingPrinter.Verbosity verbosity, boolean formatValues, IOnLoadFilter recordingFilter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Main method that will print a recording Usage:void
print(IItemCollection events)
void
printEvent(IItem e)
-
-
-
Constructor Detail
-
RecordingPrinter
public RecordingPrinter(PrintWriter output, RecordingPrinter.Verbosity verbosity, boolean formatValues, IOnLoadFilter recordingFilter)
-
RecordingPrinter
public RecordingPrinter(PrintWriter output, RecordingPrinter.Verbosity verbosity, boolean formatValues)
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException, InterruptedException, CouldNotLoadRecordingException
Main method that will print a recording Usage:java org.openjdk.jmc.flightrecorder [-formatValues] [-brief] fileName - formatValues will format values in a suitable unit (may loose precision) - brief will print only parts of all event values.
-
print
public void print(IItemCollection events)
-
printEvent
public void printEvent(IItem e)
-
-