Class MetricValue
java.lang.Object
com.microsoft.azure.management.cosmosdb.MetricValue
- Direct Known Subclasses:
PercentileMetricValue
Represents metrics values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_count()Get the number of values for the metric.average()Get the average value of the metric.maximum()Get the max value of the metric.minimum()Get the min value of the metric.org.joda.time.DateTimeGet the metric timestamp (ISO-8601 format).total()Get the total value of the metric.
-
Constructor Details
-
MetricValue
public MetricValue()
-
-
Method Details
-
_count
Get the number of values for the metric.- Returns:
- the _count value
-
average
Get the average value of the metric.- Returns:
- the average value
-
maximum
Get the max value of the metric.- Returns:
- the maximum value
-
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
Get the total value of the metric.- Returns:
- the total value
-