public enum SplitBrainProtectionOn extends Enum<SplitBrainProtectionOn>
Enum Constant and Description |
---|
READ
Only read operations will participate in a split brain protection.
|
READ_WRITE
Both read and write operations will participate in a split brain protection.
|
WRITE
Only write operations will participate in a split brain protection.
|
Modifier and Type | Method and Description |
---|---|
static SplitBrainProtectionOn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SplitBrainProtectionOn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SplitBrainProtectionOn READ
public static final SplitBrainProtectionOn WRITE
public static final SplitBrainProtectionOn READ_WRITE
public static SplitBrainProtectionOn[] values()
for (SplitBrainProtectionOn c : SplitBrainProtectionOn.values()) System.out.println(c);
public static SplitBrainProtectionOn 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.