org.apache.camel.management.mbean
Enum Statistic.UpdateMode
java.lang.Object
java.lang.Enum<Statistic.UpdateMode>
org.apache.camel.management.mbean.Statistic.UpdateMode
- All Implemented Interfaces:
- Serializable, Comparable<Statistic.UpdateMode>
- Enclosing class:
- Statistic
public static enum Statistic.UpdateMode
- extends Enum<Statistic.UpdateMode>
Statistics mode
- VALUE - A statistic with this update mode is a simple value that is a straight forward
representation of the updated value.
- DIFFERENCE - A statistic with this update mode is a value that represents the difference
between the last two recorded values (or the initial value if two updates have
not been recorded).
- COUNTER - A statistic with this update mode interprets updates as increments (positive values)
or decrements (negative values) to the current value.
- MAXIMUM - A statistic with this update mode is a value that represents the maximum value
amongst the update values applied to this statistic.
- MINIMUM - A statistic with this update mode is a value that represents the minimum value
amongst the update values applied to this statistic.
public static final Statistic.UpdateMode VALUE
DIFFERENCE
public static final Statistic.UpdateMode DIFFERENCE
COUNTER
public static final Statistic.UpdateMode COUNTER
MAXIMUM
public static final Statistic.UpdateMode MAXIMUM
MINIMUM
public static final Statistic.UpdateMode MINIMUM
values
public static Statistic.UpdateMode[] 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 (Statistic.UpdateMode c : Statistic.UpdateMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Statistic.UpdateMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Apache CAMEL