Class MetricValue
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.MetricValue
-
- Direct Known Subclasses:
PercentileMetricValue
public class MetricValue extends Object
Represents metrics values.
-
-
Constructor Summary
Constructors Constructor Description MetricValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Doubleaverage()Get the average value of the metric.Doublecount()Get the number of values for the metric.Doublemaximum()Get the max value of the metric.Doubleminimum()Get the min value of the metric.org.joda.time.DateTimetimestamp()Get the metric timestamp (ISO-8601 format).Doubletotal()Get the total value of the metric.
-
-
-
Method Detail
-
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
-
-