T
- the metric value type@ThingworxExtensionApiClass(since={8,1,1}) public interface IBasicMetricBuilder<T> extends IMetricBuilder<T>
Modifier and Type | Method and Description |
---|---|
IGauge<T> |
gauge(java.lang.String key)
Returns a gauge metric for the appropriate type. |
IGauge<java.util.List<T>> |
list(java.lang.String key)
Returns a list metric for the appropriate type. |
IMetricSet<T> |
set(java.lang.String key)
Returns a set metric for the appropriate type. |
@ThingworxExtensionApiMethod(since={8,1,1}) IGauge<T> gauge(java.lang.String key)
key
- the metric key@ThingworxExtensionApiMethod(since={8,1,1}) IGauge<java.util.List<T>> list(java.lang.String key)
key
- the metric key@ThingworxExtensionApiMethod(since={8,1,1}) IMetricSet<T> set(java.lang.String key)
key
- the metric key