public interface IMeasurementsProvider
Modifier and Type | Method and Description |
---|---|
void |
addOrReplaceMeasurement(java.lang.String name,
java.lang.Double value)
Add or replace measurement data.
|
void |
clearMeasurements()
Clear all measurements.
|
java.lang.Double |
getMeasurement(java.lang.String name)
Get measurement by name.
|
java.util.Map<java.lang.String,java.lang.Double> |
getMeasurements()
Get map of all measurements.
|
java.lang.Double |
removeMeasurement(java.lang.String name)
Remove a measurement.
|
void addOrReplaceMeasurement(java.lang.String name, java.lang.Double value)
name
- value
- java.lang.Double removeMeasurement(java.lang.String name)
name
- java.lang.Double getMeasurement(java.lang.String name)
name
- java.util.Map<java.lang.String,java.lang.Double> getMeasurements()
void clearMeasurements()