public static enum Partition.Properties.ReplicaAudit extends java.lang.Enum<Partition.Properties.ReplicaAudit>
The default audit is defined by Partition.DefaultReplicaAudit
,
Enum Constant and Description |
---|
DISCARD_REPLICA
Discard the replica if not active.
|
IGNORE_REPLICA
Deprecated.
|
WAIT_ACTIVE
Block until all replica nodes are active.
|
Modifier and Type | Method and Description |
---|---|
static Partition.Properties.ReplicaAudit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Partition.Properties.ReplicaAudit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Partition.Properties.ReplicaAudit WAIT_ACTIVE
public static final Partition.Properties.ReplicaAudit DISCARD_REPLICA
@Deprecated public static final Partition.Properties.ReplicaAudit IGNORE_REPLICA
public static Partition.Properties.ReplicaAudit[] values()
for (Partition.Properties.ReplicaAudit c : Partition.Properties.ReplicaAudit.values()) System.out.println(c);
public static Partition.Properties.ReplicaAudit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null