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, setPermissionUpdateTimestamp
public String[] getAllClusterNodeAddresses() throws ClusterMgtAdminException
ClusterMgtAdminException
public boolean isClusteringEnabled() throws ClusterMgtException
ClusterMgtException
public String getMyNodeID() throws ClusterMgtException
ClusterMgtException
public boolean getStoreHealth() throws ClusterMgtException
ClusterMgtException
Copyright © 2018 WSO2. All rights reserved.