public class ClusterManagerClient extends Object
| Constructor and Description |
|---|
ClusterManagerClient(org.apache.axis2.context.ConfigurationContext configCtx,
String backendServerURL,
String cookie)
Constructor for ClusterManagerClient
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllClusterNodeAddresses()
Return addresses of the nodes in a cluster
|
String |
getMyNodeID()
get node ID assigned to this node in the cluster
|
boolean |
getStoreHealth()
Gets the message store's health status
|
boolean |
isClusteringEnabled()
check if broker is running in clustered mode
|
public ClusterManagerClient(org.apache.axis2.context.ConfigurationContext configCtx,
String backendServerURL,
String cookie)
throws Exception
configCtx - configuration context for serverbackendServerURL - server backend urlcookie - session cookieExceptionpublic String[] getAllClusterNodeAddresses() throws org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtAdminExceptionException, RemoteException, org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException
org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtAdminExceptionExceptionRemoteExceptionorg.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionExceptionpublic boolean isClusteringEnabled()
throws org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException,
RemoteException
org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionExceptionRemoteExceptionpublic String getMyNodeID() throws org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException, RemoteException
org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionExceptionRemoteExceptionpublic boolean getStoreHealth()
throws org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException,
RemoteException
org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionExceptionRemoteExceptionCopyright © 2018 WSO2. All rights reserved.