Interface IBasicMetricBuilder<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • gauge

        @ThingworxExtensionApiMethod(since={8,1,1})
        IGauge<T> gauge​(java.lang.String key)


        Returns a gauge metric for the appropriate type.
        Parameters:
        key - the metric key
        Returns:
        the resulting metric
      • list

        @ThingworxExtensionApiMethod(since={8,1,1})
        IGauge<java.util.List<T>> list​(java.lang.String key)


        Returns a list metric for the appropriate type.
        Parameters:
        key - the metric key
        Returns:
        the resulting metric