public interface BenchmarkProbePointWriter extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
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.
|
closevoid start(BenchmarkDriver drv, BenchmarkConfiguration cfg, long startTime)
drv - Benchmark driver.cfg - Benchmark configuration.startTime - Time when writers are initialized.void writePoints(BenchmarkProbe probe, Collection<BenchmarkProbePoint> points) throws Exception
probe - Probe for which points are collected.points - Points to write.Exception - If write failed.Copyright © 2014. All rights reserved.