|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.admin.server.AbstractAdminImpl
com.metamatrix.admin.server.ServerRuntimeStateAdminImpl
public class ServerRuntimeStateAdminImpl
| Field Summary |
|---|
| Fields inherited from class com.metamatrix.admin.server.AbstractAdminImpl |
|---|
parent, registry |
| Constructor Summary | |
|---|---|
ServerRuntimeStateAdminImpl(ServerAdminImpl parent,
ClusteredRegistryState registry)
|
|
| Method Summary | |
|---|---|
void |
bounceSystem(boolean waitUntilDone)
Stop and restart the entire system. |
void |
cancelRequest(java.lang.String identifier)
Cancel Request |
void |
cancelSourceRequest(java.lang.String identifier)
Cancel Source Request |
void |
changeVDBStatus(java.lang.String name,
java.lang.String version,
int newStatus)
Change the status of a Deployed VDB |
void |
clearCache(java.lang.String cacheIdentifier)
Clear the cache or caches specified by the cacheIdentifier. |
void |
startConnectorBinding(java.lang.String identifier)
Start Connector Binding |
void |
startHost(java.lang.String hostName,
boolean waitUntilDone)
Start the Host for this cluster |
void |
startProcess(java.lang.String identifier,
boolean waitUntilDone)
Start a Process in the system. |
void |
stopConnectorBinding(java.lang.String identifier,
boolean stopNow)
Stop Connector Binding |
void |
stopHost(java.lang.String hostName,
boolean stopNow,
boolean waitUntilDone)
Stop the Host for this cluster |
void |
stopProcess(java.lang.String identifier,
boolean stopNow,
boolean waitUntilDone)
Stop Process running in the system. |
void |
stopSystem()
Stop the entire system. |
void |
synchronizeSystem(boolean waitUntilDone)
Synchronize the entire system. |
void |
terminateSession(java.lang.String identifier)
Terminate the Session |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerRuntimeStateAdminImpl(ServerAdminImpl parent,
ClusteredRegistryState registry)
| Method Detail |
|---|
public void cancelRequest(java.lang.String identifier)
throws AdminException
CoreRuntimeStateAdmin
cancelRequest in interface CoreRuntimeStateAdminidentifier - The request identifer defined by Request
No wild cards currently supported, must be explicit
AdminException - if there's a system error.CoreRuntimeStateAdmin.cancelRequest(java.lang.String)
public void cancelSourceRequest(java.lang.String identifier)
throws AdminException
CoreRuntimeStateAdmin
cancelSourceRequest in interface CoreRuntimeStateAdminidentifier - The request identifer defined by Request
No wild cards currently supported, must be explicit
AdminException - if there's a system error.CoreRuntimeStateAdmin.cancelSourceRequest(java.lang.String)
public void startConnectorBinding(java.lang.String identifier)
throws AdminException
CoreRuntimeStateAdmin
startConnectorBinding in interface CoreRuntimeStateAdminidentifier - identifier for ConnectorBinding
"*" - for all connector bindings in the system
"name*" - for all connector bindings that begin with given name
"name" - for single connector binding by the given name
AdminException - if there's a system error.CoreRuntimeStateAdmin.startConnectorBinding(java.lang.String)
public void startHost(java.lang.String hostName,
boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
startHost in interface ServerRuntimeStateAdminhostName - the unique identifier for for a Host
in the system.waitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.ServerRuntimeStateAdmin.startHost(java.lang.String, boolean)
public void startProcess(java.lang.String identifier,
boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
startProcess in interface ServerRuntimeStateAdminidentifier - the unique identifier for for a
ProcessObject in the system.waitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.ServerRuntimeStateAdmin.startProcess(java.lang.String, boolean)
public void stopConnectorBinding(java.lang.String identifier,
boolean stopNow)
throws AdminException
CoreRuntimeStateAdmin
stopConnectorBinding in interface CoreRuntimeStateAdminidentifier - identifier for ConnectorBinding
"*" - for all connector bindings in the system
"name*" - for all connector bindings that begin with given name
"name" - for single connector binding by the given name
stopNow - If true, stop the process forcefully. If false, wait until any pending work is done.
AdminException - - if there's a system error.com.metamatrix.admin.api.server.ServerRuntimeStateAdmin#stopConnectorBinding(java.lang.String)
public void stopHost(java.lang.String hostName,
boolean stopNow,
boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
stopHost in interface ServerRuntimeStateAdminhostName - the unique identifier for for a Host
in the system.stopNow - If true, stop the host forcefully. If false, wait until any pending work is done.waitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.ServerRuntimeStateAdmin.stopHost(java.lang.String, boolean, boolean)
public void stopProcess(java.lang.String identifier,
boolean stopNow,
boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
stopProcess in interface ServerRuntimeStateAdminidentifier - the unique identifier for for a
ProcessObject in the system.stopNow - a boolean value indicating whether to halt the process immediately
or let it finish processing first.waitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.ServerRuntimeStateAdmin.stopProcess(java.lang.String, boolean, boolean)
public void stopSystem()
throws AdminException
ServerRuntimeStateAdmin
stopSystem in interface ServerRuntimeStateAdminAdminException - if there's a system error.ServerRuntimeStateAdmin.stopSystem()
public void bounceSystem(boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
bounceSystem in interface ServerRuntimeStateAdminwaitUntilDone - Ignored: the waiting for this method is done in ServerAdminClientInterceptor on the client-side.
AdminException - if there's a system error.ServerRuntimeStateAdmin.bounceSystem(boolean)
public void synchronizeSystem(boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
synchronizeSystem in interface ServerRuntimeStateAdminwaitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.ServerRuntimeStateAdmin.synchronizeSystem(boolean)
public void clearCache(java.lang.String cacheIdentifier)
throws AdminException
CoreRuntimeStateAdmin
clearCache in interface CoreRuntimeStateAdmincacheIdentifier - Cache name identifier Cache.
No wild cards currently supported, must be explicit
AdminException - if there's a system error.CoreRuntimeStateAdmin.clearCache(java.lang.String)
public void terminateSession(java.lang.String identifier)
throws AdminException
CoreRuntimeStateAdmin
terminateSession in interface CoreRuntimeStateAdminidentifier - Session Idenitfier Session.
No wild cards currently supported, must be explicit
AdminException - if there's a system error.CoreRuntimeStateAdmin.terminateSession(java.lang.String)
public void changeVDBStatus(java.lang.String name,
java.lang.String version,
int newStatus)
throws AdminException
CoreRuntimeStateAdmin
changeVDBStatus in interface CoreRuntimeStateAdminname - Name of the Virtial Databaseversion - Version of the Virtial DatabasenewStatus - Active, InActive, Delete
AdminException - if there's a system error.CoreRuntimeStateAdmin.changeVDBStatus(java.lang.String, java.lang.String, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||