Package com.thingworx.metrics.builder
Interface IBasicMetricBuilder<T>
- Type Parameters:
T
- the metric value type
- All Superinterfaces:
IMetricBuilder<T>
@ThingworxExtensionApiClass(since={8,1,1})
public interface IBasicMetricBuilder<T>
extends IMetricBuilder<T>
Provides access to a metric of the provided type.
-
Method Summary
-
Method Details
-
gauge
Returns a gauge metric for the appropriate type.- Parameters:
key
- the metric key- Returns:
- the resulting metric
-
list
Returns a list metric for the appropriate type.- Parameters:
key
- the metric key- Returns:
- the resulting metric
-
set
Returns a set metric for the appropriate type.- Parameters:
key
- the metric key- Returns:
- the resulting metric
-