org.wso2.carbon.cluster.mgt.admin
Class ClusterAdmin

java.lang.Object
  extended by org.wso2.carbon.cluster.mgt.admin.ClusterAdmin

public class ClusterAdmin
extends Object

Cluster Administration Service


Constructor Summary
ClusterAdmin()
           
 
Method Summary
 void endClusterMaintenance()
           
 void endGroupMaintenance(String groupName)
           
 Group[] getGroups()
           
 GroupMember[] getMembers(String groupName)
           
 void restartCluster()
           
 void restartClusterGracefully()
           
 void restartGroup(String groupName)
           
 void restartGroupGracefully(String groupName)
           
 void shutdownCluster()
           
 void shutdownClusterGracefully()
           
 void shutdownGroup(String groupName)
           
 void shutdownGroupGracefully(String groupName)
           
 void startClusterMaintenance()
           
 void startGroupMaintenance(String groupName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterAdmin

public ClusterAdmin()
Method Detail

getMembers

public GroupMember[] getMembers(String groupName)
                         throws Exception
Throws:
Exception

getGroups

public Group[] getGroups()
                  throws Exception
Throws:
Exception

shutdownGroup

public void shutdownGroup(String groupName)
                   throws Exception
Throws:
Exception

restartGroup

public void restartGroup(String groupName)
                  throws Exception
Throws:
Exception

shutdownGroupGracefully

public void shutdownGroupGracefully(String groupName)
                             throws Exception
Throws:
Exception

restartGroupGracefully

public void restartGroupGracefully(String groupName)
                            throws Exception
Throws:
Exception

shutdownCluster

public void shutdownCluster()
                     throws Exception
Throws:
Exception

shutdownClusterGracefully

public void shutdownClusterGracefully()
                               throws Exception
Throws:
Exception

restartCluster

public void restartCluster()
                    throws Exception
Throws:
Exception

restartClusterGracefully

public void restartClusterGracefully()
                              throws Exception
Throws:
Exception

startGroupMaintenance

public void startGroupMaintenance(String groupName)
                           throws Exception
Throws:
Exception

endGroupMaintenance

public void endGroupMaintenance(String groupName)
                         throws Exception
Throws:
Exception

startClusterMaintenance

public void startClusterMaintenance()
                             throws Exception
Throws:
Exception

endClusterMaintenance

public void endClusterMaintenance()
                           throws Exception
Throws:
Exception


Copyright © 2015 WSO2. All rights reserved.