| Enum Constant and Description |
|---|
SUBTRACT_ALL_FROM_FIRST
This will perform pAttributes[0] - pAttributes[1] - pAttributes[2] .
|
SUM_ALL
This will perform pAttributes[0] + pAttributes[1] + pAttributes[2] .
|
USE_FIRST_ATT
The is the typical behavior.
|
USE_FIRST_RECORDED_ATT
This can be used when different MBean Servers are being used within the same JVM (there was a ticket for this for
JBoss 5).
|
| Modifier and Type | Method and Description |
|---|---|
abstract float |
performAction(java.lang.String[] attributes,
java.util.Map<java.lang.String,java.lang.Float> values) |
static JmxAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JmxAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmxAction USE_FIRST_ATT
public static final JmxAction USE_FIRST_RECORDED_ATT
public static final JmxAction SUBTRACT_ALL_FROM_FIRST
public static final JmxAction SUM_ALL
public static JmxAction[] values()
for (JmxAction c : JmxAction.values()) System.out.println(c);
public static JmxAction 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 abstract float performAction(java.lang.String[] attributes,
java.util.Map<java.lang.String,java.lang.Float> values)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException