public static enum Partition.Properties.SparseAudit extends java.lang.Enum<Partition.Properties.SparseAudit>
A sparse Partition is a partition that doesn't have the local node as the active node, or in the replica node list. When enabled, no data migration takes place; instead the node list is verified against the node list that is present on the active node to verify they match.
When restoring multiple nodes, it may be necessary to disable the auditing of node lists, since the active node may have a node list that is the result of a previous failover.
The default audit is defined by Partition.DefaultSparseAudit
,
Enum Constant and Description |
---|
IGNORE_NODE_LIST
Do not perform any verification of node lists.
|
VERIFY_NODE_LIST
Verify that the defined node list matches the active node's
node list.
|
Modifier and Type | Method and Description |
---|---|
static Partition.Properties.SparseAudit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Partition.Properties.SparseAudit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Partition.Properties.SparseAudit VERIFY_NODE_LIST
public static final Partition.Properties.SparseAudit IGNORE_NODE_LIST
public static Partition.Properties.SparseAudit[] values()
for (Partition.Properties.SparseAudit c : Partition.Properties.SparseAudit.values()) System.out.println(c);
public static Partition.Properties.SparseAudit 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