| Package | Description | 
|---|---|
| com.tailf.ha | 
 
 Package for setup and control of High Availability cluster nodes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static HaException | 
HaException.mk(ConfResponse r)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Ha.beMaster(ConfValue myNodeId)
Instruct an 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 an HA node to be a slave to a named master. 
 | 
void | 
Ha.slaveDead(ConfValue nodeId)
This function must be used by the application to inform the HA subsystem
 that another node which is possibly connected to the server is dead. 
 | 
HaStatus | 
Ha.status()
Query an HA node for its status. 
 | 
| Constructor and Description | 
|---|
Ha(Socket socket,
  String token)
 Constructor for management of an HA Cluster node. 
 |