public interface WatchdogAPI
| Modifier and Type | Method and Description |
|---|---|
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
|
java.lang.String status(java.lang.String password)
password - the watchdog passwordvoid start(java.lang.String password,
java.lang.String[] argv)
throws ConfigException,
java.lang.IllegalStateException,
java.io.IOException
ConfigExceptionjava.lang.IllegalStateExceptionjava.io.IOExceptionvoid 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 serverConfigExceptionjava.lang.IllegalStateExceptionjava.io.IOExceptionvoid stop(java.lang.String password,
java.lang.String serverId)
throws ConfigException,
java.lang.IllegalStateException,
java.io.IOException
password - the watchdog passwordserverId - the server to stopConfigExceptionjava.lang.IllegalStateExceptionjava.io.IOExceptionvoid kill(java.lang.String password,
java.lang.String serverId)
throws ConfigException,
java.lang.IllegalStateException,
java.io.IOException
password - the watchdog passwordserverId - the server to killConfigExceptionjava.lang.IllegalStateExceptionjava.io.IOExceptionboolean shutdown(java.lang.String password)
throws java.io.IOException
password - java.io.IOException