| Package | Description |
|---|---|
| com.tailf.conf |
Data types and utilities for communication with the server.
|
| com.tailf.ha |
Package for setup and control of High Availability cluster nodes.
|
| com.tailf.notif |
Package for subscription of asynchronous events.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfHaNode |
ConfHaNode.unpack_ha_node(ConfEObject term)
Decodes a ConfEObject into a ConfHaNode.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfEObject |
ConfHaNode.pack_ha_node(ConfHaNode node)
Encodes a ConfHaNode into a ConfEObject to be transported by the
protocol.
|
| Modifier and Type | Method and Description |
|---|---|
ConfHaNode[] |
HaStatus.getNodes()
Get the array of slaves for a MASTER HA node, the MASTER node for a
SLAVE HA node, or the MASTER and the "sub-slaves" for a SLAVE_RELAY
HA node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Ha.beSlave(ConfValue myNodeId,
ConfHaNode master,
boolean waitForReply)
Instruct a HA node to be slave with a named master.
|
| Constructor and Description |
|---|
HaStatus(HaStateType state,
ConfHaNode[] nodes) |
| Modifier and Type | Method and Description |
|---|---|
ConfHaNode |
HaNotification.getHANode() |
| Constructor and Description |
|---|
HaNotification(int ha_info_type,
int nomaster,
ConfHaNode ha_node,
boolean cdb_initialized_by_copy,
int be_slave_result) |