public class ClusterManagerService
extends org.wso2.carbon.core.AbstractAdmin
| Constructor and Description |
|---|
ClusterManagerService() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllClusterNodeAddresses()
Gets the IP addresses and ports of the nodes in a cluster
|
String |
getMyNodeID()
get the ID assigned by zookeeper to this node
|
boolean |
getStoreHealth()
Gets the message store's health status
|
boolean |
isClusteringEnabled()
check if broker is in clustering mode
|
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamppublic String[] getAllClusterNodeAddresses() throws ClusterMgtAdminException
ClusterMgtAdminExceptionpublic boolean isClusteringEnabled()
throws ClusterMgtException
ClusterMgtExceptionpublic String getMyNodeID() throws ClusterMgtException
ClusterMgtExceptionpublic boolean getStoreHealth()
throws ClusterMgtException
ClusterMgtExceptionCopyright © 2017 WSO2. All rights reserved.