Package com.ibm.wsspi.usage.metering
Enum AggregationMethodDescriptor.SliceAggregationMethod
- java.lang.Object
-
- java.lang.Enum<AggregationMethodDescriptor.SliceAggregationMethod>
-
- com.ibm.wsspi.usage.metering.AggregationMethodDescriptor.SliceAggregationMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AggregationMethodDescriptor.SliceAggregationMethod>
- Enclosing class:
- AggregationMethodDescriptor<T extends AggregationMethodDescriptor<?>>
public static enum AggregationMethodDescriptor.SliceAggregationMethod extends java.lang.Enum<AggregationMethodDescriptor.SliceAggregationMethod>
The allowed aggregation method types for small time periods (for example, hours when looking at a day).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVG
Average value over a selected time period.LAST
No aggregation; display the last value in a selected time period.MAX
Maximum value over a selected time period.MIN
Minimum value over a selected time period.NONE
No aggregation; do not display the metric.SUM
Summation of the value over a selected time period.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AggregationMethodDescriptor.SliceAggregationMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AggregationMethodDescriptor.SliceAggregationMethod[]
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.SliceAggregationMethod NONE
No aggregation; do not display the metric.
-
MIN
public static final AggregationMethodDescriptor.SliceAggregationMethod MIN
Minimum value over a selected time period.
-
MAX
public static final AggregationMethodDescriptor.SliceAggregationMethod MAX
Maximum value over a selected time period.
-
AVG
public static final AggregationMethodDescriptor.SliceAggregationMethod AVG
Average value over a selected time period.
-
SUM
public static final AggregationMethodDescriptor.SliceAggregationMethod SUM
Summation of the value over a selected time period.
-
LAST
public static final AggregationMethodDescriptor.SliceAggregationMethod LAST
No aggregation; display the last value in a selected time period.
-
-
Method Detail
-
values
public static AggregationMethodDescriptor.SliceAggregationMethod[] 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.SliceAggregationMethod c : AggregationMethodDescriptor.SliceAggregationMethod.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.SliceAggregationMethod 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
-
-