public interface NodeStateManager
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activate the node.
|
void |
deactivate()
Deactivate the node.
|
Set<Node> |
getAllNodes()
Deprecated.
since 7.0.6 Use
ClusterNodes.all() instead. |
Node |
getNode()
Deprecated.
since 7.0.6 Use
ClusterNodes.current() instead. |
Node |
getNodeWithRefresh()
Deprecated.
since 7.0.6 Use
ClusterNodes.reset() followed by ClusterNodes.current() instead. |
void |
quiesce() |
void |
restart() |
void |
shutdownNode()
Shutdowns the node in the db.
|
@Deprecated Node getNode()
ClusterNodes.current()
instead.Node.isClustered()
to see if it's part of a
cluster@Deprecated Node getNodeWithRefresh()
ClusterNodes.reset()
followed by ClusterNodes.current()
instead.Node.isClustered()
to see if it's part of a
cluster@Deprecated Set<Node> getAllNodes()
ClusterNodes.all()
instead.Node
s in a clustervoid activate() throws ClusterStateException
ClusterStateException
- when we can't become active as requestedvoid deactivate() throws NotClusteredException
NotClusteredException
- if the instance is not clusteredvoid quiesce() throws NotClusteredException
NotClusteredException
void restart()
void shutdownNode()
Copyright © 2002-2017 Atlassian. All Rights Reserved.