MetricValue Class

  • java.lang.Object
    • com.microsoft.azure.management.sql.MetricValue

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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MetricValue

public MetricValue()

Method Details

average

public Double average()

Get the average value of the metric.

Returns:

the average value

count

public Double count()

Get the number of values for the metric.

Returns:

the count 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 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

Applies to