public class BenchmarkProbePointCsvWriter extends Object implements BenchmarkProbePointWriter
| Modifier and Type | Field and Description |
|---|---|
static SimpleDateFormat |
FORMAT |
static String |
META_INFO_PREFIX |
static String |
META_INFO_SEPARATOR |
| Constructor and Description |
|---|
BenchmarkProbePointCsvWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
start(BenchmarkDriver drv,
BenchmarkConfiguration cfg,
long startTime)
Writer preparation and all resource initialization should be done here.
|
void |
writePoints(BenchmarkProbe probe,
Collection<BenchmarkProbePoint> points)
Writes collection of collected points to target.
|
public static final String META_INFO_SEPARATOR
public static final String META_INFO_PREFIX
public static final SimpleDateFormat FORMAT
public void start(BenchmarkDriver drv, BenchmarkConfiguration cfg, long startTime)
start in interface BenchmarkProbePointWriterdrv - Benchmark driver.cfg - Benchmark configuration.startTime - Time when writers are initialized.public void writePoints(BenchmarkProbe probe, Collection<BenchmarkProbePoint> points) throws Exception
writePoints in interface BenchmarkProbePointWriterprobe - Probe for which points are collected.points - Points to write.Exception - If write failed.public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2014. All rights reserved.