|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeStateManager
Manage the state of nodes in the HA Cluster.
| Method Summary | |
|---|---|
void |
activate()
Activate the node. |
void |
deactivate()
Deactivate the 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()
|
| Method Detail |
|---|
Node getNode()
Node.isClustered()
to see if it's part of a clusterNode getNodeWithRefresh()
Node.isClustered()
to see if it's part of a cluster
void activate()
throws ClusterStateException
ClusterStateException - when we can't become active as requested
void deactivate()
throws NotClusteredException
NotClusteredException - if the instance is not clustered
void quiesce()
throws NotClusteredException
NotClusteredExceptionvoid restart()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||