Package de.xima.fc.cluster
Class ClusterNodeStateManager
- java.lang.Object
-
- de.xima.fc.cluster.ClusterNodeStateManager
-
@Deprecated(since="8.6.0", forRemoval=true) public class ClusterNodeStateManager extends Object
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.
-
-
Constructor Summary
Constructors Constructor Description ClusterNodeStateManager()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidchangeNodeState(ENodeState state)Deprecated, for removal: This API element is subject to removal in a future version.static IClusterTopologyListenergetFailoverListener()Deprecated, for removal: This API element is subject to removal in a future version.static ENodeStategetLocaleNodeState()Deprecated, for removal: This API element is subject to removal in a future version.static ENodeTypegetLocaleNodeType()Deprecated, for removal: This API element is subject to removal in a future version.static IClusterMessageListenergetTakeoverMessageListener()Deprecated, for removal: This API element is subject to removal in a future version.static voidhandleClusterControllMessage(ClusterControllMessage message)Deprecated, for removal: This API element is subject to removal in a future version.static voidhandleNodeLeft(NodeLeftEvent event)Deprecated, for removal: This API element is subject to removal in a future version.static voidhandleNodeShutdown()Deprecated, for removal: This API element is subject to removal in a future version.static voidhandleNodeStartup()Deprecated, for removal: This API element is subject to removal in a future version.static voidregisterStateChangeListener(IBaseNotificationListener listener)Deprecated, for removal: This API element is subject to removal in a future version.static voidrelease(NodeModel node)Deprecated, for removal: This API element is subject to removal in a future version.static voidrestart()Deprecated, for removal: This API element is subject to removal in a future version.static voidretake(NodeModel node)Deprecated, for removal: This API element is subject to removal in a future version.static voidstandby()Deprecated, for removal: This API element is subject to removal in a future version.static voidstartup()Deprecated, for removal: This API element is subject to removal in a future version.static voidtakeover(NodeModel node)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
changeNodeState
public static void changeNodeState(ENodeState state)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getFailoverListener
@Deprecated(since="8.5.0", forRemoval=true) public static IClusterTopologyListener getFailoverListener()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getLocaleNodeState
public static ENodeState getLocaleNodeState()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getLocaleNodeType
public static ENodeType getLocaleNodeType()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getTakeoverMessageListener
public static IClusterMessageListener getTakeoverMessageListener()
Deprecated, for removal: This API element is subject to removal in a future version.
-
handleClusterControllMessage
public static void handleClusterControllMessage(ClusterControllMessage message)
Deprecated, for removal: This API element is subject to removal in a future version.
-
handleNodeLeft
public static void handleNodeLeft(NodeLeftEvent event)
Deprecated, for removal: This API element is subject to removal in a future version.
-
handleNodeShutdown
public static void handleNodeShutdown()
Deprecated, for removal: This API element is subject to removal in a future version.
-
handleNodeStartup
public static void handleNodeStartup()
Deprecated, for removal: This API element is subject to removal in a future version.
-
registerStateChangeListener
public static void registerStateChangeListener(IBaseNotificationListener listener)
Deprecated, for removal: This API element is subject to removal in a future version.
-
release
public static void release(NodeModel node)
Deprecated, for removal: This API element is subject to removal in a future version.
-
restart
public static void restart() throws ClusterOpenExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
ClusterOpenException
-
retake
public static void retake(NodeModel node)
Deprecated, for removal: This API element is subject to removal in a future version.
-
standby
public static void standby()
Deprecated, for removal: This API element is subject to removal in a future version.
-
startup
public static void startup()
Deprecated, for removal: This API element is subject to removal in a future version.
-
takeover
public static void takeover(NodeModel node)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-