|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HostManagement
Server life-cycle management interface for the host controller
Method Summary | |
---|---|
void |
bounceAllServersInCluster()
Kill and re-start all the servers in the cluster |
void |
bounceServers(java.lang.String hostName)
Kill and restart all the servers on this host |
void |
killAllServersInCluster()
Kill all the servers at all the hosts |
void |
killServer(java.lang.String hostName,
java.lang.String processName,
boolean stopNow)
Kill the server process on this host with specified processName |
void |
killServers(java.lang.String hostName,
boolean stopNow)
Kill all servers on a this host |
boolean |
ping(java.lang.String hostName)
Ping the local host controller |
boolean |
pingServer(java.lang.String hostName,
java.lang.String processName)
Ping the server process on this host with given processName. |
void |
shutdown(java.lang.String hostname)
Kill the host controller; this will also kill all the server processes on this host. |
void |
shutdownCluster()
shutdown all the host controllers and all the servers processes |
void |
startAllServersInCluster()
Start all servers in the all the hosts |
void |
startServer(java.lang.String hostName,
java.lang.String processName)
Start a server process on this host with specified processName |
void |
startServers(java.lang.String hostName)
Start all servers on the given host; |
Method Detail |
---|
void startAllServersInCluster()
void killAllServersInCluster()
void bounceAllServersInCluster()
void startServers(java.lang.String hostName) throws MetaMatrixComponentException
hostName
- - name of the host; can not be null
MetaMatrixComponentException
void killServers(java.lang.String hostName, boolean stopNow) throws MetaMatrixComponentException
hostName
- - name of the host; can not be nullstopNow
- - true if need to be stopped immediately
MetaMatrixComponentException
void bounceServers(java.lang.String hostName) throws MetaMatrixComponentException
hostName
- - name of the host; can not be null
MetaMatrixComponentException
void startServer(java.lang.String hostName, java.lang.String processName) throws MetaMatrixComponentException
hostName
- - name of the host; can not be nullprocessName
- - virtual machine name
MetaMatrixComponentException
void killServer(java.lang.String hostName, java.lang.String processName, boolean stopNow) throws MetaMatrixComponentException
hostName
- - name of the host; can not be nullprocessName
-
MetaMatrixComponentException
boolean pingServer(java.lang.String hostName, java.lang.String processName)
hostName
- - name of the host; can not be nullprocessName
-
boolean ping(java.lang.String hostName)
hostName
- - name of the host; can not be null
void shutdown(java.lang.String hostname) throws MetaMatrixComponentException
hostName
- - name of the host; can not be null
MetaMatrixComponentException
void shutdownCluster() throws MetaMatrixComponentException
MetaMatrixComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |