|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VMControllerInterface
Method Summary | |
---|---|
void |
checkService(ServiceID serviceID)
Check the state of a service |
void |
dumpThreads()
dumps stack trace to log file. |
byte[] |
exportLogs()
Export the server logs to a byte[]. |
java.net.InetAddress |
getAddress()
Get the address of the host this VM is running on. |
LogConfiguration |
getCurrentLogConfiguration()
Return current log configuration. |
VMControllerID |
getID()
Get the ID for this controller. |
java.lang.String |
getName()
Get the name for this controller. |
java.util.Date |
getStartTime()
Get the time the VM was initialized. |
VMStatistics |
getVMStatistics()
Return information about VM. |
boolean |
isShuttingDown()
Returns true if system is being shutdown. |
void |
ping()
Method called from registries to determine if VMController is alive. |
void |
runGC()
Run GC on vm. |
void |
setCurrentLogConfiguration(LogConfiguration logConfiguration)
Set the current log configuration. |
void |
shutdown()
Shut down all services waiting for work to complete. |
void |
shutdownNow()
Shut down all services without waiting for work to complete. |
void |
shutdownService(ServiceID serviceID)
Shut down service waiting for work to complete. |
void |
shutdownServiceNow(ServiceID serviceID)
Shut down all services without waiting for work to complete. |
void |
startDeployedService(ServiceComponentDefnID id)
Start the service identified by the ServiceComponentID If synch is true then wait for service to start before returning. |
void |
startService(ServiceID serviceID)
Start a previously stopped service |
void |
startVM()
Starts the VM by invoking all the deployed services |
void |
stopAllServices()
Kill all services once work is complete |
void |
stopAllServicesNow()
Kill all services now |
void |
stopService(ServiceID id)
Kill service once work is complete |
void |
stopServiceNow(ServiceID id)
Kill service now!!! |
void |
stopVM()
Kill all services (waiting for work to complete) and then kill the vm. |
void |
stopVMNow()
Kill all services now, do not wait for work to complete |
Method Detail |
---|
void startVM()
void startDeployedService(ServiceComponentDefnID id)
void startService(ServiceID serviceID)
void stopVM()
void stopVMNow()
void stopService(ServiceID id)
void stopServiceNow(ServiceID id)
void stopAllServices() throws MultipleException
MultipleException
void stopAllServicesNow() throws MultipleException
MultipleException
void checkService(ServiceID serviceID)
LogConfiguration getCurrentLogConfiguration()
void setCurrentLogConfiguration(LogConfiguration logConfiguration)
java.util.Date getStartTime()
java.net.InetAddress getAddress()
VMControllerID getID()
java.lang.String getName()
void ping()
void shutdown()
void shutdownNow()
void shutdownService(ServiceID serviceID)
void shutdownServiceNow(ServiceID serviceID)
boolean isShuttingDown()
VMStatistics getVMStatistics()
void dumpThreads()
void runGC()
byte[] exportLogs()
AdminException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |