public enum MembershipChangeMode extends Enum<MembershipChangeMode>
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 MembershipChangeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MembershipChangeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MembershipChangeMode ADD
public static final MembershipChangeMode REMOVE
public static MembershipChangeMode[] values()
for (MembershipChangeMode c : MembershipChangeMode.values()) System.out.println(c);
public static MembershipChangeMode 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 © 2021 Hazelcast, Inc.. All Rights Reserved.