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 cookieException
public String[] getAllClusterNodeAddresses() throws org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtAdminExceptionException, RemoteException, org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException
org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtAdminExceptionException
RemoteException
org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException
public boolean isClusteringEnabled() throws org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException, RemoteException
org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException
RemoteException
public String getMyNodeID() throws org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException, RemoteException
org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException
RemoteException
public boolean getStoreHealth() throws org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException, RemoteException
org.wso2.carbon.andes.mgt.stub.AndesManagerServiceClusterMgtExceptionException
RemoteException
Copyright © 2023 WSO2. All rights reserved.