Uses of Class
net.obvj.performetrics.util.print.PrintStyle
-
Packages that use PrintStyle Package Description net.obvj.performetrics Provides convenient classes for extracting performance metrics of Java code.net.obvj.performetrics.config Provides classes to handle common configuration parameters used by Performetrics.net.obvj.performetrics.util.print Provides classes for printing stopwatch data. -
-
Uses of PrintStyle in net.obvj.performetrics
Methods in net.obvj.performetrics with parameters of type PrintStyle Modifier and Type Method Description voidTimingSessionContainer. print(PrintStream printStream, PrintStyle printStyle)Prints elapsed times in the specified print stream with a customPrintStyle.voidTimingSessionContainer. printDetails(PrintStream printStream, PrintStyle printStyle)Prints detailed information about timing sessions in the specified print stream, with a customPrintStyle.voidTimingSessionContainer. printSummary(PrintStream printStream, PrintStyle printStyle)Prints summarized elapsed times in the specified print stream, with a customPrintStyle.static voidPerformetrics. setDefaultPrintStyle(PrintStyle printStyle)Deprecated, for removal: This API element is subject to removal in a future version.UsePerformetrics.configuration().setPrintStyle(PrintStyle)instead.static voidPerformetrics. setDefaultPrintStyleForDetails(PrintStyle printStyle)Deprecated, for removal: This API element is subject to removal in a future version.UsePerformetrics.configuration().setPrintStyleForDetails(PrintStyle)instead.static voidPerformetrics. setDefaultPrintStyleForSummary(PrintStyle printStyle)Deprecated, for removal: This API element is subject to removal in a future version.UsePerformetrics.configuration().setPrintStyleForSummary(PrintStyle)instead.StringTimingSessionContainer. toString(PrintStyle printStyle)Returns a string containing a formatted output for this timing-session container in a customPrintStyle. -
Uses of PrintStyle in net.obvj.performetrics.config
Methods in net.obvj.performetrics.config that return PrintStyle Modifier and Type Method Description PrintStyleConfiguration. getPrintStyle()Returns the defaultPrintStyleto be applied when no style is specified.PrintStyleConfiguration. getPrintStyleForDetails()Returns the defaultPrintStylefor the detailed stopwatch formatter.PrintStyleConfiguration. getPrintStyleForSummary()Returns the defaultPrintStylefor the summarized stopwatch formatter.Methods in net.obvj.performetrics.config with parameters of type PrintStyle Modifier and Type Method Description voidConfiguration. setPrintStyle(PrintStyle printStyle)Defines the defaultPrintStyleto be applied when no style is specified.voidConfiguration. setPrintStyleForDetails(PrintStyle printStyle)Defines the defaultPrintStylefor the detailed stopwatch formatter.voidConfiguration. setPrintStyleForSummary(PrintStyle printStyle)Defines the defaultPrintStylefor the summarized stopwatch formatter. -
Uses of PrintStyle in net.obvj.performetrics.util.print
Fields in net.obvj.performetrics.util.print declared as PrintStyle Modifier and Type Field Description static PrintStylePrintStyle. DETAILED_CSVA string-based style for the detailed timing-session-container format, which prints data as CSV (comma-separated values).static PrintStylePrintStyle. DETAILED_CSV_ISO_8601A string-based style for the detailed timing-session-container format, which prints data as CSV (comma-separated values), with elapsed times expressed using the ISO-8601 duration format.static PrintStylePrintStyle. DETAILED_CSV_ISO_8601_NO_HEADERA string-based style for the detailed timing-session-container format, which prints data as CSV (comma-separated values), with elapsed times expressed using the ISO-8601 duration format and no header.static PrintStylePrintStyle. DETAILED_CSV_NO_HEADERA string-based style for the detailed timing-session-container format, which prints data as CSV (comma-separated values), without header.static PrintStylePrintStyle. DETAILED_TABLE_FULLA string-based style for the detailed timing-session-container format, with horizontal lines separating each row, and total elapsed time for each counter.static PrintStylePrintStyle. DETAILED_XMLA string-based style for the detailed timing-session-container format, which prints data in XML format.static PrintStylePrintStyle. DETAILED_XML_ISO_8601A string-based style for the detailed timing-session-container format, which prints data as XML with elapsed times expressed using the ISO-8601 duration format.static PrintStylePrintStyle. DETAILED_YAMLA string-based style for the detailed timing-session-container format, which prints data in YAML format.static PrintStylePrintStyle. DETAILED_YAML_ISO_8601A string-based style for the detailed timing-session-container format, which prints data as YAML with elapsed times expressed using the ISO-8601 duration format.static PrintStylePrintStyle. LINUXA string-based style which prints data from a timing-session-container in Linux style.static PrintStylePrintStyle. SUMMARIZED_CSVA string-based style for the summarized timing-session-container format, which prints data as CSV (comma-separated values).static PrintStylePrintStyle. SUMMARIZED_CSV_ISO_8601A string-based style for the summarized timing-session-container format, which prints data as CSV (comma-separated values), with elapsed times expressed using the ISO-8601 duration format.static PrintStylePrintStyle. SUMMARIZED_CSV_ISO_8601_NO_HEADERA string-based style for the summarized timing-session-container format, which prints data as CSV (comma-separated values), with elapsed times expressed using the ISO-8601 duration format and no header.static PrintStylePrintStyle. SUMMARIZED_CSV_NO_HEADERA string-based style for the summarized timing-session-container format, which prints data as CSV (comma-separated values), without header.static PrintStylePrintStyle. SUMMARIZED_TABLE_FULLA string-based style for the summarized timing-session-container format, which prints data in tabular format, with horizontal lines separating each row.static PrintStylePrintStyle. SUMMARIZED_TABLE_NO_HEADERA string-based style for the summarized timing-session-container format, which prints data in tabular format without header.static PrintStylePrintStyle. SUMMARIZED_XMLA string-based style for the summarized timing-session-container format, which prints data in XML format.static PrintStylePrintStyle. SUMMARIZED_XML_ISO_8601A string-based style for the summarized timing-session-container format, which prints data as XML with elapsed times expressed using the ISO-8601 duration format.static PrintStylePrintStyle. SUMMARIZED_YAMLA string-based style for the summarized timing-session-container format, which prints data in YAML format.static PrintStylePrintStyle. SUMMARIZED_YAML_ISO_8601A string-based style for the summarized timing-session-container format, which prints data as YAML with elapsed times expressed using the ISO-8601 duration format.Methods in net.obvj.performetrics.util.print that return PrintStyle Modifier and Type Method Description PrintStylePrintStyleBuilder. build()Builds the PrintStyle.Methods in net.obvj.performetrics.util.print with parameters of type PrintStyle Modifier and Type Method Description static PrintStyleBuilderPrintStyle. builder(PrintStyle source)Returns a PrintStyle builder with the same attributes of an existing PrintStyle.voidPrintFormat. checkCompatibility(PrintStyle printStyle)Checks if a givenPrintStyleis compatible with thisPrintFormat.abstract StringPrintFormat. format(TimingSessionContainer container, PrintStyle style)Generates a formatted string containing data from the specified timing-session container, in a custom style.static voidPrintUtils. print(TimingSessionContainer container, PrintStream printStream, PrintStyle printStyle)Prints elapsed times from the givenTimingSessionContainerinto the specified print stream, with a customPrintStyle.static voidPrintUtils. printDetails(TimingSessionContainer container, PrintStream printStream, PrintStyle printStyle)Prints detailed information about timing sessions from the givenTimingSessionContainerinto the specified print stream, with a customPrintStyle.static voidPrintUtils. printSummary(TimingSessionContainer container, PrintStream printStream, PrintStyle printStyle)Prints summarized elapsed times from the givenTimingSessionContainerinto the specified print stream, with a customPrintStyle.static StringPrintUtils. toString(TimingSessionContainer container, PrintStyle printStyle)Returns a string containing a formatted output from the givenTimingSessionContainerin a customPrintStyle.Constructors in net.obvj.performetrics.util.print with parameters of type PrintStyle Constructor Description PrintStyleBuilder(PrintStyle source)Creates a new PrintStyle builder with the same attributes of an existing PrintStyle.
-