public static enum ClusterMembershipEvent.Type extends java.lang.Enum<ClusterMembershipEvent.Type>
| Enum Constant and Description |
|---|
MEMBER_ADDED
Indicates that a new member has been added.
|
MEMBER_REMOVED
Indicates that a member has been removed.
|
METADATA_CHANGED
Indicates that a member's metadata has changed.
|
REACHABILITY_CHANGED
Indicates that a member's reachability has changed.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterMembershipEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterMembershipEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterMembershipEvent.Type MEMBER_ADDED
public static final ClusterMembershipEvent.Type METADATA_CHANGED
public static final ClusterMembershipEvent.Type REACHABILITY_CHANGED
public static final ClusterMembershipEvent.Type MEMBER_REMOVED
public static ClusterMembershipEvent.Type[] values()
for (ClusterMembershipEvent.Type c : ClusterMembershipEvent.Type.values()) System.out.println(c);
public static ClusterMembershipEvent.Type 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 © 2013-2018. All Rights Reserved.