public enum ClusterMembershipEventType extends Enum<ClusterMembershipEventType>
| Enum Constant and Description |
|---|
HEART_BEAT |
LEAVING_MEMBER |
NEW_MEMBER |
UNREACHABLE_MEMBER |
| Modifier and Type | Method and Description |
|---|---|
static ClusterMembershipEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterMembershipEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterMembershipEventType NEW_MEMBER
public static final ClusterMembershipEventType LEAVING_MEMBER
public static final ClusterMembershipEventType UNREACHABLE_MEMBER
public static final ClusterMembershipEventType HEART_BEAT
public static ClusterMembershipEventType[] values()
for (ClusterMembershipEventType c : ClusterMembershipEventType.values()) System.out.println(c);
public static ClusterMembershipEventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015. All rights reserved.