Skip navigation links
A B C E G H I L M N O P R S T U V 

A

addEventListener(RdbmsMembershipListener) - Method in class org.wso2.broker.coordination.rdbms.RdbmsMembershipEventingEngine
Method to add a listener to be notified of the cluster membership events.
ANCHOR - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 

B

BrokerHaConfiguration - Class in org.wso2.broker.coordination
Configuration for HA.
BrokerHaConfiguration() - Constructor for class org.wso2.broker.coordination.BrokerHaConfiguration
 
BrokerHaConfiguration.HaConfiguration - Class in org.wso2.broker.coordination
Represents configuration for HA.

C

checkIfCoordinatorValid(int) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Check if the coordinator is invalid using the heart beat value.
checkIsCoordinator(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Check if the given node is the coordinator.
clearMembershipEvents(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Method to remove all membership events for a particular node.
close(ResultSet, String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Close the result set resource.
close(PreparedStatement, String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Close the prepared statement resource.
close(Connection, String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Closes the provided connection, on failure logs the error.
CLUSTER_COORDINATOR_HEARTBEAT_TABLE - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
CLUSTER_NODE_HEARTBEAT_TABLE - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
CoordinationConfiguration - Class in org.wso2.broker.coordination.rdbms
Configuration for RDBMS HA.
CoordinationConfiguration() - Constructor for class org.wso2.broker.coordination.rdbms.CoordinationConfiguration
 
CoordinationConfiguration.RdbmsCoordinationConfiguration - Class in org.wso2.broker.coordination.rdbms
Represents configuration for RDBMS coordination.
CoordinationException - Exception in org.wso2.broker.coordination
Represents an exception of the broker occurring during coordination.
CoordinationException(String) - Constructor for exception org.wso2.broker.coordination.CoordinationException
 
CoordinationException(String, Throwable) - Constructor for exception org.wso2.broker.coordination.CoordinationException
 
CoordinationException(String, String, Throwable) - Constructor for exception org.wso2.broker.coordination.CoordinationException
 
CoordinationStrategy - Interface in org.wso2.broker.coordination
The interface representing the coordination algorithm used to elect/identify the coordinator in the cluster.
COORDINATOR_ANCHOR - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
coordinatorChanged(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Invoked when the coordinator changes in the cluster.
coordinatorChanged(String) - Method in interface org.wso2.broker.coordination.rdbms.RdbmsMembershipListener
Invoked when the coordinator changes in the cluster.
createCoordinatorEntry(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Method to create coordinator entry (i.e - make this node the coordinator).
createNodeHeartbeatEntry(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Method to create the node heartbeat entry.

E

EVENT_ID - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 

G

getAllHeartBeatData() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Get node heart beat status for all the existing nodes.
getAllNodeDetails() - Method in interface org.wso2.broker.coordination.CoordinationStrategy
Retrieve node details of all the nodes.
getAllNodeDetails() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Retrieve node details of all the nodes.
getAllNodeIdentifiers() - Method in interface org.wso2.broker.coordination.CoordinationStrategy
Retrieve IDs of all the nodes.
getAllNodeIdentifiers() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Retrieve IDs of all the nodes.
getCode() - Method in enum org.wso2.broker.coordination.rdbms.MembershipEventType
Retrieve the integer code of the event type.
getConnection() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Create a connection using a thread pooled data source object and return the connection.
getCoordinatorEntryCreationWaitTime() - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 
getCoordinatorNodeId() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Retrieve the current coordinator's node ID.
getErrorCode() - Method in exception org.wso2.broker.coordination.CoordinationException
 
getEventPollingInterval() - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 
getHaConfig() - Method in class org.wso2.broker.coordination.BrokerHaConfiguration
 
getHeartbeatInterval() - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 
getLastHeartbeat() - Method in class org.wso2.broker.coordination.node.NodeHeartbeatData
Getter method for last heartbeat.
getMember() - Method in class org.wso2.broker.coordination.rdbms.MembershipEvent
Retrieve the node id of the member for which the membership event is triggered.
getMembershipEventType() - Method in class org.wso2.broker.coordination.rdbms.MembershipEvent
Retrieve the type of the membership event.
getNodeId() - Method in class org.wso2.broker.coordination.node.NodeDetail
Getter method for the node ID.
getNodeId() - Method in class org.wso2.broker.coordination.node.NodeHeartbeatData
Getter method for Node ID.
getNodeId() - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 
getNodeIdentifierOfCoordinator() - Method in interface org.wso2.broker.coordination.CoordinationStrategy
Retrieve the node ID of the coordinator node.
getNodeIdentifierOfCoordinator() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Retrieve the node ID of the coordinator node.
getRdbmsCoordinationConfig() - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration
 
getStrategy() - Method in class org.wso2.broker.coordination.BrokerHaConfiguration.HaConfiguration
 
getTypeFromInt(int) - Static method in enum org.wso2.broker.coordination.rdbms.MembershipEventType
Retrieve the relevant type of the membership event by passing the integer code.

H

HaConfiguration() - Constructor for class org.wso2.broker.coordination.BrokerHaConfiguration.HaConfiguration
 

I

IS_NEW_NODE - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
isCoordinator() - Method in interface org.wso2.broker.coordination.CoordinationStrategy
Used to query if the current node is the coordinator.
isCoordinator() - Method in class org.wso2.broker.coordination.node.NodeDetail
Retrieve whether the node represented by the node details is the coordinator.
isCoordinator() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Used to query if the current node is the coordinator.
isEnabled() - Method in class org.wso2.broker.coordination.BrokerHaConfiguration.HaConfiguration
 
isNewNode() - Method in class org.wso2.broker.coordination.node.NodeHeartbeatData
Getter method for isNewNode.

L

LAST_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 

M

markNodeAsNotNew(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Method to indicate that the coordinator detected a node addition.
memberAdded(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Invoked when a new member is added to the cluster.
memberAdded(String) - Method in interface org.wso2.broker.coordination.rdbms.RdbmsMembershipListener
Invoked when a new member is added to the cluster.
memberRemoved(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Invoked when an existing member leaves the cluster.
memberRemoved(String) - Method in interface org.wso2.broker.coordination.rdbms.RdbmsMembershipListener
Invoked when an existing member leaves the cluster.
MEMBERSHIP_CHANGE_TYPE - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
MEMBERSHIP_CHANGED_MEMBER_ID - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
MEMBERSHIP_TABLE - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
MembershipEvent - Class in org.wso2.broker.coordination.rdbms
Event that contains information regarding a membership change.
MembershipEvent(MembershipEventType, String) - Constructor for class org.wso2.broker.coordination.rdbms.MembershipEvent
 
MembershipEventType - Enum in org.wso2.broker.coordination.rdbms
Enum that defines allowed types of membership events.

N

NODE_ID - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
NodeDetail - Class in org.wso2.broker.coordination.node
Hold information related to a node to be used with coordination.
NodeDetail(String, boolean) - Constructor for class org.wso2.broker.coordination.node.NodeDetail
Constructor for node details.
NodeHeartbeatData - Class in org.wso2.broker.coordination.node
Hold information related to a node heartbeat entry.
NodeHeartbeatData(String, long, boolean) - Constructor for class org.wso2.broker.coordination.node.NodeHeartbeatData
Constructor for NodeHeartbeatData.
notifyMembershipEvent(List<String>, MembershipEventType, String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsMembershipEventingEngine
Method to store membership events destined to be read by each node.

O

org.wso2.broker.coordination - package org.wso2.broker.coordination
 
org.wso2.broker.coordination.node - package org.wso2.broker.coordination.node
 
org.wso2.broker.coordination.rdbms - package org.wso2.broker.coordination.rdbms
 

P

PS_CLEAN_MEMBERSHIP_EVENTS_FOR_EVENT_ID - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to clear the all events of the specified type of membership event.
PS_CLEAN_MEMBERSHIP_EVENTS_FOR_NODE - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to clear membership change events destined to a particular member.
PS_DELETE_COORDINATOR - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to delete the coordinator entry.
PS_DELETE_NODE_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to delete the node heart beat entry for the specified node.
PS_GET_ALL_NODE_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to retrieve the last updated node heartbeats of all the nodes.
PS_GET_COORDINATOR_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to get the heartbeat of the coordinator.
PS_GET_COORDINATOR_NODE_ID - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to get the node ID of the coordinator node.
PS_GET_COORDINATOR_ROW_FOR_NODE_ID - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to check if the specified node is the coordinator.
PS_INSERT_COORDINATOR_ROW - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to insert the coordinator row.
PS_INSERT_MEMBERSHIP_EVENT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to insert a membership change event entry.
PS_INSERT_NODE_HEARTBEAT_ROW - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to insert the node heartbeat entry of a new node.
PS_MARK_NODE_NOT_NEW - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to mark the specified node as not new.
PS_SELECT_MEMBERSHIP_EVENT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to retrieve membership change events destined to a particular member.
PS_UPDATE_COORDINATOR_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to update the coordinator heartbeat entry.
PS_UPDATE_NODE_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
Prepared statement to update the node heartbeat of the specified node.

R

RDBMS_COORDINATION_CONFIG_FILE - Static variable in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration
 
RdbmsCoordinationConfiguration() - Constructor for class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 
RdbmsCoordinationConstants - Class in org.wso2.broker.coordination.rdbms
Prepared statements, table names, column names and tasks for RDBMS coordination.
RdbmsCoordinationConstants() - Constructor for class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
RdbmsCoordinationDaoImpl - Class in org.wso2.broker.coordination.rdbms
Abstraction of the underlying database used with RDBMS coordination.
RdbmsCoordinationDaoImpl(DataSource) - Constructor for class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Default constructor which uses the provided datasource.
RdbmsCoordinationStrategy - Class in org.wso2.broker.coordination.rdbms
RdbmsCoordinationStrategy uses a RDBMS based approached to identify membership events related to the cluster.
RdbmsCoordinationStrategy(RdbmsCoordinationDaoImpl, CoordinationConfiguration.RdbmsCoordinationConfiguration) - Constructor for class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Default constructor.
RdbmsMembershipEventingEngine - Class in org.wso2.broker.coordination.rdbms
Class to detect membership changes and write them to the database.
RdbmsMembershipEventingEngine(RdbmsCoordinationDaoImpl) - Constructor for class org.wso2.broker.coordination.rdbms.RdbmsMembershipEventingEngine
Default constructor.
RdbmsMembershipListener - Interface in org.wso2.broker.coordination.rdbms
Interface that declares methods to be run when a cluster membership change event occurs.
readMembershipEvents(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Method to read cluster membership change events for a nodeID.
removeCoordinator() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Remove current coordinator entry from database.
removeEventListener(RdbmsMembershipListener) - Method in class org.wso2.broker.coordination.rdbms.RdbmsMembershipEventingEngine
Method to remove a previously added listener.
removeNodeHeartbeat(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Remove heartbeat entry for the given node.
rollback(Connection, String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
On database update failure try to rollback.

S

setCoordinatorEntryCreationWaitTime(int) - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 
setEnabled(boolean) - Method in class org.wso2.broker.coordination.BrokerHaConfiguration.HaConfiguration
 
setEventPollingInterval(int) - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 
setHaConfig(BrokerHaConfiguration.HaConfiguration) - Method in class org.wso2.broker.coordination.BrokerHaConfiguration
 
setHeartbeatInterval(int) - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 
setNodeId(String) - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 
setRdbmsCoordinationConfig(CoordinationConfiguration.RdbmsCoordinationConfiguration) - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration
 
setStrategy(String) - Method in class org.wso2.broker.coordination.BrokerHaConfiguration.HaConfiguration
 
start() - Method in interface org.wso2.broker.coordination.CoordinationStrategy
Meant to be invoked when the coordination algorithm should start working.
start() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Meant to be invoked when the coordination algorithm should start working.
start(String, int) - Method in class org.wso2.broker.coordination.rdbms.RdbmsMembershipEventingEngine
Method to start the membership listener task.
stop() - Method in interface org.wso2.broker.coordination.CoordinationStrategy
Meant to be invoked when the coordination algorithm should stop working.
stop() - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationStrategy
Meant to be invoked when the coordination algorithm should stop working.
stop() - Method in class org.wso2.broker.coordination.rdbms.RdbmsMembershipEventingEngine
Method to stop the membership listener task.
storeMembershipEvent(List<String>, int, String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Method to store cluster membership events.

T

TASK_ADD_COORDINATOR_ROW - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_ADD_NODE_ROW - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_CHECK_IF_COORDINATOR - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_GET_ALL_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_GET_COORDINATOR_INFORMATION - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_MARK_NODE_NOT_NEW - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_REMOVE_COORDINATOR - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_REMOVE_NODE_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_RETRIEVE_MEMBERSHIP_EVENTS - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_STORE_MEMBERSHIP_EVENT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_UPDATE_COORDINATOR_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
TASK_UPDATE_NODE_HEARTBEAT - Static variable in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationConstants
 
toString() - Method in class org.wso2.broker.coordination.BrokerHaConfiguration.HaConfiguration
 
toString() - Method in class org.wso2.broker.coordination.rdbms.CoordinationConfiguration.RdbmsCoordinationConfiguration
 

U

updateCoordinatorHeartbeat(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Update coordinator heartbeat value to current time.
updateNodeHeartbeat(String) - Method in class org.wso2.broker.coordination.rdbms.RdbmsCoordinationDaoImpl
Method to update the node heartbeat value to the current time.

V

valueOf(String) - Static method in enum org.wso2.broker.coordination.rdbms.MembershipEventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.wso2.broker.coordination.rdbms.MembershipEventType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E G H I L M N O P R S T U V 
Skip navigation links

Copyright © 2017 WSO2. All rights reserved.