| Package | Description |
|---|---|
| org.wso2.broker.coordination | |
| org.wso2.broker.coordination.rdbms |
| Modifier and Type | Method and Description |
|---|---|
List<NodeDetail> |
CoordinationStrategy.getAllNodeDetails()
Retrieve node details of all the nodes.
|
List<String> |
CoordinationStrategy.getAllNodeIdentifiers()
Retrieve IDs of all the nodes.
|
String |
CoordinationStrategy.getNodeIdentifierOfCoordinator()
Retrieve the node ID of the coordinator node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RdbmsCoordinationDaoImpl.checkIfCoordinatorValid(int age)
Check if the coordinator is invalid using the heart beat value.
|
boolean |
RdbmsCoordinationDaoImpl.checkIsCoordinator(String nodeId)
Check if the given node is the coordinator.
|
boolean |
RdbmsCoordinationDaoImpl.createCoordinatorEntry(String nodeId)
Method to create coordinator entry (i.e - make this node the coordinator).
|
void |
RdbmsCoordinationDaoImpl.createNodeHeartbeatEntry(String nodeId)
Method to create the node heartbeat entry.
|
List<NodeHeartbeatData> |
RdbmsCoordinationDaoImpl.getAllHeartBeatData()
Get node heart beat status for all the existing nodes.
|
List<NodeDetail> |
RdbmsCoordinationStrategy.getAllNodeDetails()
Retrieve node details of all the nodes.
|
List<String> |
RdbmsCoordinationStrategy.getAllNodeIdentifiers()
Retrieve IDs of all the nodes.
|
String |
RdbmsCoordinationDaoImpl.getCoordinatorNodeId()
Retrieve the current coordinator's node ID.
|
String |
RdbmsCoordinationStrategy.getNodeIdentifierOfCoordinator()
Retrieve the node ID of the coordinator node.
|
static MembershipEventType |
MembershipEventType.getTypeFromInt(int typeInInt)
Retrieve the relevant type of the membership event by passing the integer code.
|
void |
RdbmsCoordinationDaoImpl.markNodeAsNotNew(String nodeId)
Method to indicate that the coordinator detected a node addition.
|
void |
RdbmsCoordinationDaoImpl.removeCoordinator()
Remove current coordinator entry from database.
|
void |
RdbmsCoordinationDaoImpl.removeNodeHeartbeat(String nodeId)
Remove heartbeat entry for the given node.
|
boolean |
RdbmsCoordinationDaoImpl.updateCoordinatorHeartbeat(String nodeId)
Update coordinator heartbeat value to current time.
|
boolean |
RdbmsCoordinationDaoImpl.updateNodeHeartbeat(String nodeId)
Method to update the node heartbeat value to the current time.
|
Copyright © 2018 WSO2. All rights reserved.