addMeasurement(String name, double value, long time) Adds measurement
Parameters: name - Metric name Parameters: value - Measurement value Parameters: time - Time when metric was collected.
Method Detail
addMeasurement
void addMeasurement(String name, double value, long time)(Code)
Adds measurement
Parameters: name - Metric name Parameters: value - Measurement value Parameters: time - Time when metric was collected. If thisparameter is 0 then metric subsystem usesSystem.currentTimeMillis() to provide correct value ifneeded.