Class ClusterManagementBeans
java.lang.Object
org.wso2.carbon.andes.cluster.mgt.internal.managementBeans.ClusterManagementBeans
Cluster Management MBeans invoker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the IP addresses and ports of the nodes in a clusterGets the coordinator node's host address and port in a clusterGets the current node's IDbooleanGets the message store's health statusbooleanChecks whether clustering is enabled
-
Constructor Details
-
ClusterManagementBeans
public ClusterManagementBeans()
-
-
Method Details
-
isClusteringEnabled
Checks whether clustering is enabled- Returns:
- a boolean whether clustering is enabled
- Throws:
ClusterMgtException
-
getMyNodeID
Gets the current node's ID- Returns:
- current node's ID
- Throws:
ClusterMgtException
-
getCoordinatorNodeAddress
Gets the coordinator node's host address and port in a cluster- Returns:
- The coordinator node's host address and port
- Throws:
ClusterMgtException
-
getAllClusterNodeAddresses
Gets the IP addresses and ports of the nodes in a cluster- Returns:
- A list of addresses of the nodes in a cluster
- Throws:
ClusterMgtException
-
getStoreHealth
Gets the message store's health status- Returns:
- true if healthy, else false.
- Throws:
ClusterMgtException
-