Class ObjectMetricImpl<T>

    • Constructor Detail

      • ObjectMetricImpl

        public ObjectMetricImpl​(String name,
                                @Nullable
                                @Nullable String desc,
                                Class<T> type)
        Parameters:
        name - Name.
        desc - Description.
        type - Type.
    • Method Detail

      • value

        public T value()
        Specified by:
        value in interface ObjectMetric<T>
        Returns:
        Value ot the metric.
      • value

        public void value​(T val)
        Sets value.
        Parameters:
        val - Value.