public interface NodeStateManager
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activate the node.
|
void |
deactivate()
Deactivate the node.
|
Set<Node> |
getAllNodes()
Returns all the known nodes JIRA node.
|
Node |
getNode()
Returns the current JIRA node.
|
Node |
getNodeWithRefresh()
Returns the current JIRA node, first refreshing its state from the database.
|
void |
quiesce() |
void |
restart() |
void |
shutdownNode()
Shutdowns the node in the db.
|
Node getNode()
Node.isClustered()
to see if it's part of a
clusterNode getNodeWithRefresh()
Node.isClustered()
to see if it's part of a
clusterSet<Node> getAllNodes()
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-2015 Atlassian. All Rights Reserved.