Package com.ibm.wsspi.usage.metering
Enum AggregationMethodDescriptor.RangeAggregationMethod
- java.lang.Object
-
- java.lang.Enum<AggregationMethodDescriptor.RangeAggregationMethod>
-
- com.ibm.wsspi.usage.metering.AggregationMethodDescriptor.RangeAggregationMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AggregationMethodDescriptor.RangeAggregationMethod>
- Enclosing class:
- AggregationMethodDescriptor<T extends AggregationMethodDescriptor<?>>
public static enum AggregationMethodDescriptor.RangeAggregationMethod extends java.lang.Enum<AggregationMethodDescriptor.RangeAggregationMethod>
The allowed aggregation method types for an entire time range.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVG
Average value over the time range.AVG_AVG
First average the value in each time period, then find the average of the averages.AVG_SUM
First sum the value in each time period, then average the sums.LAST
No aggregation; display the last value in the time range.MAX
Maximum value over the time range.MAX_SUM
First sum the value in each time period, then find the maximum of the sums.MIN
Minimum value over the time range.MIN_SUM
First sum the value in each time period, then find the minimum of the sums.NONE
No aggregation; do not display the metric.SUM
Summation of the value over the time range.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AggregationMethodDescriptor.RangeAggregationMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AggregationMethodDescriptor.RangeAggregationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AggregationMethodDescriptor.RangeAggregationMethod NONE
No aggregation; do not display the metric.
-
MIN
public static final AggregationMethodDescriptor.RangeAggregationMethod MIN
Minimum value over the time range.
-
MAX
public static final AggregationMethodDescriptor.RangeAggregationMethod MAX
Maximum value over the time range.
-
AVG
public static final AggregationMethodDescriptor.RangeAggregationMethod AVG
Average value over the time range.
-
SUM
public static final AggregationMethodDescriptor.RangeAggregationMethod SUM
Summation of the value over the time range.
-
LAST
public static final AggregationMethodDescriptor.RangeAggregationMethod LAST
No aggregation; display the last value in the time range.
-
AVG_SUM
public static final AggregationMethodDescriptor.RangeAggregationMethod AVG_SUM
First sum the value in each time period, then average the sums.
-
MIN_SUM
public static final AggregationMethodDescriptor.RangeAggregationMethod MIN_SUM
First sum the value in each time period, then find the minimum of the sums.
-
MAX_SUM
public static final AggregationMethodDescriptor.RangeAggregationMethod MAX_SUM
First sum the value in each time period, then find the maximum of the sums.
-
AVG_AVG
public static final AggregationMethodDescriptor.RangeAggregationMethod AVG_AVG
First average the value in each time period, then find the average of the averages.
-
-
Method Detail
-
values
public static AggregationMethodDescriptor.RangeAggregationMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AggregationMethodDescriptor.RangeAggregationMethod c : AggregationMethodDescriptor.RangeAggregationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregationMethodDescriptor.RangeAggregationMethod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-