| com.caucho.boot.WatchdogAPI
All known Subclasses: com.caucho.boot.WatchdogServlet,
WatchdogAPI | public interface WatchdogAPI (Code) | | Process responsible for watching a backend server.
|
kill | public void kill(String password, String serverId) throws ConfigException, IllegalStateException, IOException(Code) | | Kills the named server, terminating the process.
Parameters: password - the watchdog password Parameters: serverId - the server to kill |
restart | public void restart(String password, String serverId, String[] argv) throws ConfigException, IllegalStateException, IOException(Code) | | Restarts the server with the given arguments.
Parameters: password - watchdog password Parameters: serverId - the server to be restarted Parameters: argv - the new arguments for the server |
shutdown | public boolean shutdown(String password) throws IOException(Code) | | Shuts the entire watchdog manager down.
Parameters: password - true on success |
status | public String status(String password)(Code) | | Returns the status of the watchdog manager
Parameters: password - the watchdog password a user-readable status report |
stop | public void stop(String password, String serverId) throws ConfigException, IllegalStateException, IOException(Code) | | Stops the named server
Parameters: password - the watchdog password Parameters: serverId - the server to stop throws: com.caucho.config.ConfigException - |
|
|