com.ibm.wsspi.usage.metering

Interface Metric



  • public interface Metric
    Represents one measure of product usage.

    The time interval of a metric is determined by the Usage instance from which the metric was obtained; see ProductExtension.getCurrentUsage().

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getMetricType()
      The type of the metric being provided.
      java.lang.Number getMetricValue()
      The value of the metric being measured.
    • Method Detail

      • getMetricType

        java.lang.String getMetricType()
        The type of the metric being provided.
      • getMetricValue

        java.lang.Number getMetricValue()
        The value of the metric being measured.