Package de.xima.fc.cluster.model.msg
Enum EClusterControllMessage
- java.lang.Object
-
- java.lang.Enum<EClusterControllMessage>
-
- de.xima.fc.cluster.model.msg.EClusterControllMessage
-
- All Implemented Interfaces:
Serializable,Comparable<EClusterControllMessage>
@Deprecated(since="8.6.0", forRemoval=true) public enum EClusterControllMessage extends Enum<EClusterControllMessage>
Deprecated, for removal: This API element is subject to removal in a future version.The failover feature with a hot-standby will be removed in a future version. Please use theClusterNodeJoinedEventandClusterNodeLeftEventto observe new or leaving nodes.Enumeration of the possible control commands that can be sent to a node in the cluster.- Since:
- 3.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RELEASEDeprecated, for removal: This API element is subject to removal in a future version.The node should stop performing work.RETAKEDeprecated, for removal: This API element is subject to removal in a future version.The node should start performing work.TAKEOVERDeprecated, for removal: This API element is subject to removal in a future version.The node should move to failover mode and be ready to start performing work when required.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EClusterControllMessagevalueOf(String name)Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name.static EClusterControllMessage[]values()Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RELEASE
public static final EClusterControllMessage RELEASE
Deprecated, for removal: This API element is subject to removal in a future version.The node should stop performing work.
-
TAKEOVER
public static final EClusterControllMessage TAKEOVER
Deprecated, for removal: This API element is subject to removal in a future version.The node should move to failover mode and be ready to start performing work when required.
-
RETAKE
public static final EClusterControllMessage RETAKE
Deprecated, for removal: This API element is subject to removal in a future version.The node should start performing work.
-
-
Method Detail
-
values
public static EClusterControllMessage[] values()
Deprecated, for removal: This API element is subject to removal in a future version.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 (EClusterControllMessage c : EClusterControllMessage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EClusterControllMessage valueOf(String name)
Deprecated, for removal: This API element is subject to removal in a future version.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
-
-