public final class LatencyWriter extends Object implements AutoCloseable
| Constructor and Description |
|---|
LatencyWriter(File path)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the writer
|
void |
outputIntervalHistogram(org.HdrHistogram.EncodableHistogram histogram)
Sets up the output interval histogram
|
void |
outputLegend(long startedEpochMillis)
Writes the legend for the HDR file
|
public LatencyWriter(File path) throws IOException
path - file pathIOException - on I/O errorspublic void outputLegend(long startedEpochMillis)
startedEpochMillis - the time the test started (in milliseconds from epoch)public void outputIntervalHistogram(org.HdrHistogram.EncodableHistogram histogram)
histogram - the output interval histogrampublic void close()
close in interface AutoCloseableThis documentation was released into the public domain.