|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MeasurementsExporter
Used to export the collected measurements into a useful format, for example human readable text or machine readable JSON.
Method Summary | |
---|---|
void |
write(java.lang.String metric,
java.lang.String measurement,
double d)
Write a measurement to the exported format. |
void |
write(java.lang.String metric,
java.lang.String measurement,
int i)
Write a measurement to the exported format. |
Methods inherited from interface java.io.Closeable |
---|
close |
Method Detail |
---|
void write(java.lang.String metric, java.lang.String measurement, int i) throws java.io.IOException
metric
- Metric name, for example "READ LATENCY".measurement
- Measurement name, for example "Average latency".i
- Measurement to write.
java.io.IOException
- if writing failedvoid write(java.lang.String metric, java.lang.String measurement, double d) throws java.io.IOException
metric
- Metric name, for example "READ LATENCY".measurement
- Measurement name, for example "Average latency".d
- Measurement to write.
java.io.IOException
- if writing failed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |