Package com.thingworx.metrics
Interface IMetric
-
- All Known Subinterfaces:
ICounter<T>
,IGauge<T>
,IMetricSet<T>
,IStatistic<V,Q>
@ThingworxExtensionApiClass(since={8,1,1}) public interface IMetric
The generic interface that all metrics must implement.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
METRIC_TYPE
static java.lang.String
VALUE
static java.lang.String
VALUE_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
key()
Returns this metric's key.
-
-
-
Field Detail
-
VALUE_TYPE
static final java.lang.String VALUE_TYPE
- See Also:
- Constant Field Values
-
METRIC_TYPE
static final java.lang.String METRIC_TYPE
- See Also:
- Constant Field Values
-
VALUE
static final java.lang.String VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
key
@ThingworxExtensionApiMethod(since={8,1,1}) java.lang.String key()
Returns this metric's key.- Returns:
- the key
-
-