public final class ClientStatsUtil
extends java.lang.Object
ClientStats
objects.Constructor and Description |
---|
ClientStatsUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
writeSummaryCSV(ClientStats stats,
java.lang.String path)
Append a single line of comma-separated values to the file specified.
|
static void |
writeSummaryCSV(java.lang.String statsRowName,
ClientStats stats,
java.lang.String path)
Write a single line of comma-separated values to the file specified.
|
public static void writeSummaryCSV(ClientStats stats, java.lang.String path) throws java.io.IOException
The format of this output is subject to change between versions. As of V11.0 there are 13 fields. The format is:
ClientStats
instance, stats.ClientStats
instance
until this call.All times are given in milliseconds.
stats
- ClientStats
instance with relevant statspath
- path to write to, passed to FileWriter(String)
java.io.IOException
- on any file write errorpublic static void writeSummaryCSV(java.lang.String statsRowName, ClientStats stats, java.lang.String path) throws java.io.IOException
The format of this output is subject to change between versions.
See writeSummaryCSV(ClientStats, String)
for the format.
This variation on writeSummaryCSV
inserts an initial
column containing a user-specified string; this can be used to
identify the row. Users should not use a mix of the two forms
of writeSummaryCSV
on the same file, since the format
will be inconsistent.
statsRowName
- name to be inserted as first columnstats
- ClientStats
instance with relevant statspath
- path to write to, passed to FileWriter(String)
java.io.IOException
- on any file write error