|
||||||||||
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. |
void |
quiesce()
|
void |
refreshState()
This will force the node to refresh its state from the persistent store. |
void |
restart()
|
Method Detail |
---|
Node getNode()
Node.isClustered()
to see if it's part of a clustervoid activate() throws ClusterStateException
ClusterStateException
- when we can't become active as requestedvoid deactivate() throws NotClusteredException
NotClusteredException
- if the instance is not clusteredvoid refreshState()
void quiesce() throws NotClusteredException
NotClusteredException
void restart()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |