public enum NodeChangeOptions extends java.lang.Enum<NodeChangeOptions>
| Enum Constant and Description |
|---|
CONNECTION_OBJECT_CHANGED |
HOSTNAME |
INITIAL_CONNECTION |
NODE_ADDED |
NODE_CHANGED |
NODE_DELETED |
PROMOTED_TO_READER |
PROMOTED_TO_WRITER |
WENT_DOWN |
WENT_UP |
| Modifier and Type | Method and Description |
|---|---|
static NodeChangeOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeChangeOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeChangeOptions HOSTNAME
public static final NodeChangeOptions PROMOTED_TO_WRITER
public static final NodeChangeOptions PROMOTED_TO_READER
public static final NodeChangeOptions WENT_UP
public static final NodeChangeOptions WENT_DOWN
public static final NodeChangeOptions CONNECTION_OBJECT_CHANGED
public static final NodeChangeOptions INITIAL_CONNECTION
public static final NodeChangeOptions NODE_ADDED
public static final NodeChangeOptions NODE_CHANGED
public static final NodeChangeOptions NODE_DELETED
public static NodeChangeOptions[] values()
for (NodeChangeOptions c : NodeChangeOptions.values()) System.out.println(c);
public static NodeChangeOptions 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 null