|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ConsolFun> org.rrd4j.ConsolFun
public enum ConsolFun
Enumeration of available consolidation functions. Note that data aggregation inevitably leads to loss of precision and information. The trick is to pick the aggregate function such that the interesting properties of your data are kept across the aggregation process.
Enum Constant Summary | |
---|---|
AVERAGE
The average of the data points is stored. |
|
FIRST
The fist data point is used. |
|
LAST
The last data point is used. |
|
MAX
The largest of the data points is stored. |
|
MIN
The smallest of the data points is stored. |
|
TOTAL
The total of the data points is stored. |
Method Summary | |
---|---|
static ConsolFun |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConsolFun[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ConsolFun AVERAGE
public static final ConsolFun MIN
public static final ConsolFun MAX
public static final ConsolFun LAST
public static final ConsolFun FIRST
public static final ConsolFun TOTAL
Method Detail |
---|
public static ConsolFun[] values()
for (ConsolFun c : ConsolFun.values()) System.out.println(c);
public static ConsolFun valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |