public class MetricAvailability extends Object
Constructor and Description |
---|
MetricAvailability() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.Period |
retention()
Get the retention period for the metric at the specified timegrain.
|
org.joda.time.Period |
timeGrain()
Get the time grain specifies the aggregation interval for the metric.
|
MetricAvailability |
withRetention(org.joda.time.Period retention)
Set the retention period for the metric at the specified timegrain.
|
MetricAvailability |
withTimeGrain(org.joda.time.Period timeGrain)
Set the time grain specifies the aggregation interval for the metric.
|
public org.joda.time.Period timeGrain()
public MetricAvailability withTimeGrain(org.joda.time.Period timeGrain)
timeGrain
- the timeGrain value to setpublic org.joda.time.Period retention()
public MetricAvailability withRetention(org.joda.time.Period retention)
retention
- the retention value to setCopyright © 2019. All rights reserved.