Class MetricValue

java.lang.Object
com.microsoft.azure.management.cosmosdb.MetricValue
Direct Known Subclasses:
PercentileMetricValue

public class MetricValue extends Object
Represents metrics values.
  • Constructor Details

    • MetricValue

      public MetricValue()
  • Method Details

    • _count

      public Double _count()
      Get the number of values for the metric.
      Returns:
      the _count value
    • average

      public Double average()
      Get the average value of the metric.
      Returns:
      the average value
    • maximum

      public Double maximum()
      Get the max value of the metric.
      Returns:
      the maximum value
    • minimum

      public Double minimum()
      Get the min value of the metric.
      Returns:
      the minimum value
    • timestamp

      public org.joda.time.DateTime timestamp()
      Get the metric timestamp (ISO-8601 format).
      Returns:
      the timestamp value
    • total

      public Double total()
      Get the total value of the metric.
      Returns:
      the total value