|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WatchdogAPI
Process responsible for watching a backend server.
Method Summary | |
---|---|
void |
kill(java.lang.String password,
java.lang.String serverId)
Kills the named server, terminating the process. |
void |
restart(java.lang.String password,
java.lang.String serverId,
java.lang.String[] argv)
Restarts the server with the given arguments. |
boolean |
shutdown(java.lang.String password)
Shuts the entire watchdog manager down. |
void |
start(java.lang.String password,
java.lang.String[] argv)
Starts the server with the given arguments. |
java.lang.String |
status(java.lang.String password)
Returns the status of the watchdog manager |
void |
stop(java.lang.String password,
java.lang.String serverId)
Stops the named server |
Method Detail |
---|
java.lang.String status(java.lang.String password)
password
- the watchdog password
void start(java.lang.String password, java.lang.String[] argv) throws ConfigException, java.lang.IllegalStateException, java.io.IOException
ConfigException
java.lang.IllegalStateException
java.io.IOException
void restart(java.lang.String password, java.lang.String serverId, java.lang.String[] argv) throws ConfigException, java.lang.IllegalStateException, java.io.IOException
password
- watchdog passwordserverId
- the server to be restartedargv
- the new arguments for the server
ConfigException
java.lang.IllegalStateException
java.io.IOException
void stop(java.lang.String password, java.lang.String serverId) throws ConfigException, java.lang.IllegalStateException, java.io.IOException
password
- the watchdog passwordserverId
- the server to stop
ConfigException
java.lang.IllegalStateException
java.io.IOException
void kill(java.lang.String password, java.lang.String serverId) throws ConfigException, java.lang.IllegalStateException, java.io.IOException
password
- the watchdog passwordserverId
- the server to kill
ConfigException
java.lang.IllegalStateException
java.io.IOException
boolean shutdown(java.lang.String password) throws java.io.IOException
password
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |