DatabaseMetric Interface

public interface DatabaseMetric

An immutable client-side representation of an Azure SQL DatabaseMetric.

Method Summary

Modifier and Type Method and Description
abstract double currentValue()
abstract java.lang.String displayName()
abstract double limit()
abstract org.joda.time.DateTime nextResetTime()
abstract java.lang.String resourceName()
abstract java.lang.String unit()

Method Details

currentValue

public abstract double currentValue()

Returns:

the current value of the metric

displayName

public abstract String displayName()

Returns:

the metric display name

limit

public abstract double limit()

Returns:

the current limit of the metric

nextResetTime

public abstract DateTime nextResetTime()

Returns:

the next reset time for the metric (ISO8601 format)

resourceName

public abstract String resourceName()

Returns:

the name of the resource

unit

public abstract String unit()

Returns:

the units of the metric

Applies to