|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@RolesAllowed(value="Admin.ProductAdmin") public interface ServerRuntimeStateAdmin
Interface that exposes the MetaMatrix system for runtime control.
Clients should not code directly to this interface but
should instead use ServerAdmin
.
Method Summary | |
---|---|
void |
bounceSystem(boolean waitUntilDone)
Stop and restart the entire system. |
void |
startHost(java.lang.String hostIdentifier,
boolean waitUntilDone)
Start the Host for this cluster |
void |
startProcess(java.lang.String processIdentifier,
boolean waitUntilDone)
Start a Process in the system. |
void |
stopHost(java.lang.String hostIdentifier,
boolean stopNow,
boolean waitUntilDone)
Stop the Host for this cluster |
void |
stopProcess(java.lang.String processIdentifier,
boolean stopNow,
boolean waitUntilDone)
Stop Process running in the system. |
void |
stopSystem()
Stop the entire system. |
void |
synchronizeSystem(boolean waitUntilDone)
Synchronize the entire system. |
Methods inherited from interface com.metamatrix.admin.api.core.CoreRuntimeStateAdmin |
---|
cancelRequest, cancelSourceRequest, changeVDBStatus, clearCache, startConnectorBinding, stopConnectorBinding, terminateSession, terminateTransaction, terminateTransaction |
Method Detail |
---|
void stopSystem() throws AdminException
AdminException
- if there's a system error.void bounceSystem(boolean waitUntilDone) throws AdminException
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.
NOTE: If waitUntilDone
is true, this method will wait until the server is able to connect to,
but it may not wait until non-essential services are available.
AdminException
- if there's a system error.void synchronizeSystem(boolean waitUntilDone) throws AdminException
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.void startHost(java.lang.String hostIdentifier, boolean waitUntilDone) throws AdminException
hostIdentifier
- 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.void stopHost(java.lang.String hostIdentifier, boolean stopNow, boolean waitUntilDone) throws AdminException
hostIdentifier
- 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.void startProcess(java.lang.String processIdentifier, boolean waitUntilDone) throws AdminException
processIdentifier
- 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.void stopProcess(java.lang.String processIdentifier, boolean stopNow, boolean waitUntilDone) throws AdminException
processIdentifier
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |