public static enum SplitBrainJoinMessage.SplitBrainMergeCheckResult extends Enum<SplitBrainJoinMessage.SplitBrainMergeCheckResult>
Enum Constant and Description |
---|
CANNOT_MERGE
Denotes that the two endpoints of the SplitBrainJoinMessage cannot merge to each other
|
LOCAL_NODE_SHOULD_MERGE
Denotes that the local node should merge to the other endpoint of the SplitBrainJoinMessage
|
REMOTE_NODE_SHOULD_MERGE
Denotes that the remote node that sent the SplitBrainJoinMessage should merge
|
Modifier and Type | Method and Description |
---|---|
static SplitBrainJoinMessage.SplitBrainMergeCheckResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SplitBrainJoinMessage.SplitBrainMergeCheckResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SplitBrainJoinMessage.SplitBrainMergeCheckResult CANNOT_MERGE
public static final SplitBrainJoinMessage.SplitBrainMergeCheckResult LOCAL_NODE_SHOULD_MERGE
public static final SplitBrainJoinMessage.SplitBrainMergeCheckResult REMOTE_NODE_SHOULD_MERGE
public static SplitBrainJoinMessage.SplitBrainMergeCheckResult[] values()
for (SplitBrainJoinMessage.SplitBrainMergeCheckResult c : SplitBrainJoinMessage.SplitBrainMergeCheckResult.values()) System.out.println(c);
public static SplitBrainJoinMessage.SplitBrainMergeCheckResult 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 © 2022 Hazelcast, Inc.. All Rights Reserved.