Package org.infinispan.topology
Enum CacheTopologyControlCommand.Type
- java.lang.Object
-
- java.lang.Enum<CacheTopologyControlCommand.Type>
-
- org.infinispan.topology.CacheTopologyControlCommand.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CacheTopologyControlCommand.Type>
- Enclosing class:
- CacheTopologyControlCommand
public static enum CacheTopologyControlCommand.Type extends java.lang.Enum<CacheTopologyControlCommand.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABILITY_MODE_CHANGECH_UPDATEGET_STATUSJOINLEAVEPOLICY_DISABLEPOLICY_ENABLEPOLICY_GET_STATUSREBALANCE_PHASE_CONFIRMA member is confirming that it has finished a topology change during rebalance.REBALANCE_STARTREBALANCING_GET_STATUSSHUTDOWN_PERFORMSHUTDOWN_REQUESTSTABLE_TOPOLOGY_UPDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CacheTopologyControlCommand.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CacheTopologyControlCommand.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JOIN
public static final CacheTopologyControlCommand.Type JOIN
-
LEAVE
public static final CacheTopologyControlCommand.Type LEAVE
-
REBALANCE_PHASE_CONFIRM
public static final CacheTopologyControlCommand.Type REBALANCE_PHASE_CONFIRM
A member is confirming that it has finished a topology change during rebalance. This confirmation is sent after topologies withCacheTopology.Phase.READ_OLD_WRITE_ALL,CacheTopology.Phase.READ_ALL_WRITE_ALLandCacheTopology.Phase.READ_NEW_WRITE_ALLrebalance phases are installed, but not after a topology change withCacheTopology.Phase.NO_REBALANCEphase.
-
SHUTDOWN_REQUEST
public static final CacheTopologyControlCommand.Type SHUTDOWN_REQUEST
-
CH_UPDATE
public static final CacheTopologyControlCommand.Type CH_UPDATE
-
REBALANCE_START
public static final CacheTopologyControlCommand.Type REBALANCE_START
-
GET_STATUS
public static final CacheTopologyControlCommand.Type GET_STATUS
-
STABLE_TOPOLOGY_UPDATE
public static final CacheTopologyControlCommand.Type STABLE_TOPOLOGY_UPDATE
-
SHUTDOWN_PERFORM
public static final CacheTopologyControlCommand.Type SHUTDOWN_PERFORM
-
POLICY_DISABLE
public static final CacheTopologyControlCommand.Type POLICY_DISABLE
-
POLICY_ENABLE
public static final CacheTopologyControlCommand.Type POLICY_ENABLE
-
POLICY_GET_STATUS
public static final CacheTopologyControlCommand.Type POLICY_GET_STATUS
-
AVAILABILITY_MODE_CHANGE
public static final CacheTopologyControlCommand.Type AVAILABILITY_MODE_CHANGE
-
REBALANCING_GET_STATUS
public static final CacheTopologyControlCommand.Type REBALANCING_GET_STATUS
-
-
Method Detail
-
values
public static CacheTopologyControlCommand.Type[] 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 (CacheTopologyControlCommand.Type c : CacheTopologyControlCommand.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CacheTopologyControlCommand.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-