Package | Description |
---|---|
com.tailf.ha |
Package for setup and control of High Availability cluster nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
Ha.beMaster(ConfValue myNodeId)
Instruct a HA node to be master and also give the node a name.
|
void |
Ha.beNone()
Instruct a node to resume the initial state, i.e.
|
void |
Ha.beRelay()
Instruct a slave node to be a relay for other slaves.
|
void |
Ha.beSlave(ConfValue myNodeId,
ConfHaNode master,
boolean waitForReply)
Instruct a HA node to be slave with a named master.
|
void |
Ha.slaveDead(ConfValue nodeId)
This function must be used by the application to inform HA subsystem that
another node which is possibly connected to the server is dead.
|
HaStatus |
Ha.status()
Query a HA node for its status.
|
Constructor and Description |
---|
Ha(Socket socket,
String token)
Constructor for management of a HA Cluster node This constructor
implicitly connect a HA socket which can be used to control a ConfD HA
node.
|