public static enum PartitionManager.EnableAction extends java.lang.Enum<PartitionManager.EnableAction>
Enum Constant and Description |
---|
JOIN_CLUSTER
Perform any object migrations needed to activate the
partitions defined for this node.
|
JOIN_CLUSTER_PURGE
Before migrating the partition data, remove any instances that
exist on the local node.
|
JOIN_CLUSTER_RESTORE
For all partitions where the node joining the cluster is the
current active node, access the remote node where the
partition should be restored from, and compare the objects
between the local node and remote node.
|
Modifier and Type | Method and Description |
---|---|
static PartitionManager.EnableAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PartitionManager.EnableAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionManager.EnableAction JOIN_CLUSTER
public static final PartitionManager.EnableAction JOIN_CLUSTER_PURGE
public static final PartitionManager.EnableAction JOIN_CLUSTER_RESTORE
For all partitions where the node joining the cluster is acting as a replica, the replica objects are deleted and instances migrated from the remote node.
Warning: This is performance hostile, and should only be done when resolving a split-brain scenario in a cluster.
public static PartitionManager.EnableAction[] values()
for (PartitionManager.EnableAction c : PartitionManager.EnableAction.values()) System.out.println(c);
public static PartitionManager.EnableAction 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