public enum MembershipChangeType extends Enum<MembershipChangeType>
| Enum Constant and Description |
|---|
ADD
Denotes that the given member will be added to the Raft group
|
REMOVE
Denotes that the given member will be removed from the Raft group
|
| Modifier and Type | Method and Description |
|---|---|
static MembershipChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MembershipChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MembershipChangeType ADD
public static final MembershipChangeType REMOVE
public static MembershipChangeType[] values()
for (MembershipChangeType c : MembershipChangeType.values()) System.out.println(c);
public static MembershipChangeType 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 © 2019. All Rights Reserved.