public enum ClusterEvent extends java.lang.Enum<ClusterEvent>
| Enum Constant and Description |
|---|
CLOSED |
CONNECTED |
DISCONNECTED |
MEMBERSHIP_CHANGED |
| Modifier and Type | Method and Description |
|---|---|
static ClusterEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterEvent CONNECTED
public static final ClusterEvent DISCONNECTED
public static final ClusterEvent MEMBERSHIP_CHANGED
public static final ClusterEvent CLOSED
public static ClusterEvent[] values()
for (ClusterEvent c : ClusterEvent.values()) System.out.println(c);
public static ClusterEvent 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 nullCopyright © 2015 Artem Dmitriev. All Rights Reserved.