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