public enum AggregationMethod extends java.lang.Enum<AggregationMethod>
Enum Constant and Description |
---|
GEOMETRIC_MEAN
different aggregationmethods
|
MAX |
MEAN |
MIN |
PERCENTILE90 |
PERCENTILE95 |
PRODUCT |
SUM |
SUMLOG |
SUMSQ |
VARIANCE |
Modifier and Type | Method and Description |
---|---|
double |
getAggregationValue(double[] aggregationValues)
This method returns the result of the aggregation under one of the defined aggregation methods.
|
static AggregationMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AggregationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationMethod GEOMETRIC_MEAN
public static final AggregationMethod MAX
public static final AggregationMethod MEAN
public static final AggregationMethod MIN
public static final AggregationMethod PERCENTILE90
public static final AggregationMethod PERCENTILE95
public static final AggregationMethod PRODUCT
public static final AggregationMethod SUM
public static final AggregationMethod SUMLOG
public static final AggregationMethod SUMSQ
public static final AggregationMethod VARIANCE
public static AggregationMethod[] values()
for (AggregationMethod c : AggregationMethod.values()) System.out.println(c);
public static AggregationMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic double getAggregationValue(double[] aggregationValues)
aggregationValues
- Values to be aggregatedCopyright 2017 Kieker Project, http://kieker-monitoring.net