public abstract class AggregationMethodDescriptor<T extends AggregationMethodDescriptor<?>>
extends java.lang.Object
Metric
,
that will be used to control how the metric information is displayed.Modifier and Type | Class and Description |
---|---|
static class |
AggregationMethodDescriptor.RangeAggregationMethod
The allowed aggregation method types for an entire time range.
|
static class |
AggregationMethodDescriptor.SliceAggregationMethod
The allowed aggregation method types for small time periods (for example, hours
when looking at a day).
|
Constructor and Description |
---|
AggregationMethodDescriptor() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getRangeAggregationMethodNames() |
java.util.Set<AggregationMethodDescriptor.RangeAggregationMethod> |
getRangeAggregationMethods()
Returns the set of aggregation type methods for an entire time range.
|
java.util.Set<java.lang.String> |
getSliceAggregationMethodNames() |
java.util.Set<AggregationMethodDescriptor.SliceAggregationMethod> |
getSliceAggregationMethods()
Returns the set of aggregation type methods for small time periods
(e.g.
|
AggregationMethodDescriptor<T> |
setRangeAggregationMethods(AggregationMethodDescriptor.RangeAggregationMethod... aggregationMethods)
Sets the aggregation type methods for an entire time range.
|
AggregationMethodDescriptor<T> |
setSliceAggregationMethods(AggregationMethodDescriptor.SliceAggregationMethod... aggregationMethods)
Sets the aggregation type methods for small time periods (e.g.
|
public java.util.Set<AggregationMethodDescriptor.SliceAggregationMethod> getSliceAggregationMethods()
Allowed values:
The value NONE cannot be combined with other values and will result in the metric not being displayed for small time periods.
public java.util.Set<java.lang.String> getSliceAggregationMethodNames()
public java.util.Set<AggregationMethodDescriptor.RangeAggregationMethod> getRangeAggregationMethods()
Allowed values:
The value NONE cannot be combined with other values and will result in the metric not being displayed for the entire time range.
public java.util.Set<java.lang.String> getRangeAggregationMethodNames()
public AggregationMethodDescriptor<T> setSliceAggregationMethods(AggregationMethodDescriptor.SliceAggregationMethod... aggregationMethods)
Allowed values:
The value NONE cannot be combined with other values and will result in the metric not being displayed for small time periods.
public AggregationMethodDescriptor<T> setRangeAggregationMethods(AggregationMethodDescriptor.RangeAggregationMethod... aggregationMethods)
Allowed values:
The value NONE cannot be combined with other values and will result in the metric not being displayed for the entire time range.