MetricValue Class
- java.
lang. Object - com.
microsoft. azure. management. sql. MetricValue
- com.
public class MetricValue
Represents database metrics.
Constructor Summary
Constructor | Description | |
---|---|---|
MetricValue() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
average()
Get the average value of the metric. |
java.lang.Double |
count()
Get the number of values for the metric. |
java.lang.Double |
maximum()
Get the max value of the metric. |
java.lang.Double |
minimum()
Get the min value of the metric. |
org.joda.time.DateTime |
timestamp()
Get the metric timestamp (ISO-8601 format). |
java.lang.Double |
total()
Get the total value of the metric. |
Methods inherited from java.lang.Object
Constructor Details
MetricValue
public MetricValue()
Method Details
average
public Double average()
Get the average value of the metric.
Returns:
count
public Double count()
Get the number of values for the metric.
Returns:
maximum
public Double maximum()
Get the max value of the metric.
Returns:
minimum
public Double minimum()
Get the min value of the metric.
Returns:
timestamp
public DateTime timestamp()
Get the metric timestamp (ISO-8601 format).
Returns:
total
public Double total()
Get the total value of the metric.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for