Package com.tangosol.net
Enum ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule
- java.lang.Object
-
- java.lang.Enum<ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule>
-
- com.tangosol.net.ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule>
- Enclosing class:
- ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy
public static enum ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule extends Enum<ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule>
Action Rules forConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISTRIBUTION
READ
RECOVER
RESTORE
WRITE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getElementName()
Get the configuration element name for thisConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule
.int
getMask()
Get the mask for thisConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule
.static ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISTRIBUTION
public static final ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule DISTRIBUTION
-
RESTORE
public static final ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule RESTORE
-
RECOVER
public static final ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule RECOVER
-
READ
public static final ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule READ
-
WRITE
public static final ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule WRITE
-
-
Method Detail
-
values
public static ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule c : ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getElementName
public String getElementName()
Get the configuration element name for thisConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule
.- Returns:
- the action-element-name for this action.
-
getMask
public int getMask()
Get the mask for thisConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy.ActionRule
.- Returns:
- the mask for this action.
-
-