public class MetricGroupDescriptor extends AggregationMethodDescriptor<MetricGroupDescriptor>
Metric
,
that will be used to control how the metric information is displayed.Modifier and Type | Class and Description |
---|---|
static class |
MetricGroupDescriptor.GroupRollUp
String, specifying that this group should logically represent a single value for all
instances when aggregating metrics for parent groups.
|
AggregationMethodDescriptor.RangeAggregationMethod, AggregationMethodDescriptor.SliceAggregationMethod
Constructor and Description |
---|
MetricGroupDescriptor() |
Modifier and Type | Method and Description |
---|---|
MetricGroupDescriptor |
copyMetricAggregationMethods(MetricDescriptor metricDescriptor) |
MetricGroupDescriptor |
copyMetricAggregationMethods(MetricGroupDescriptor metricGroupDescriptor) |
java.lang.String |
getGroupID() |
java.lang.String |
getGroupRollUpMethod()
Returns the group roll up method.
|
MetricGroupDescriptor |
setGroupID(java.lang.String groupID) |
MetricGroupDescriptor |
setGroupRollUpMethod(MetricGroupDescriptor.GroupRollUp groupRollUp)
Sets the group roll up type method.
|
MetricGroupDescriptor |
setRangeAggregationMethods(AggregationMethodDescriptor.RangeAggregationMethod... aggregationMethods)
Sets the aggregation type methods for an entire time range.
|
MetricGroupDescriptor |
setSliceAggregationMethods(AggregationMethodDescriptor.SliceAggregationMethod... aggregationMethods)
Sets the aggregation type methods for small time periods (for example, hours
when looking at a day).
|
getRangeAggregationMethodNames, getRangeAggregationMethods, getSliceAggregationMethodNames, getSliceAggregationMethods
public MetricGroupDescriptor setGroupRollUpMethod(MetricGroupDescriptor.GroupRollUp groupRollUp)
public java.lang.String getGroupRollUpMethod()
public java.lang.String getGroupID()
public MetricGroupDescriptor setGroupID(java.lang.String groupID)
groupID
- the groupID to setpublic MetricGroupDescriptor copyMetricAggregationMethods(MetricDescriptor metricDescriptor)
public MetricGroupDescriptor copyMetricAggregationMethods(MetricGroupDescriptor metricGroupDescriptor)
public MetricGroupDescriptor 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.
setSliceAggregationMethods
in class AggregationMethodDescriptor<MetricGroupDescriptor>
public MetricGroupDescriptor 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.
setRangeAggregationMethods
in class AggregationMethodDescriptor<MetricGroupDescriptor>