com.caucho.management.server
Interface WatchdogMXBean


public interface WatchdogMXBean

Management interface for the watchdog thread watching a server.

 resin:type=Watchdog,name=a
 


Method Summary
 java.lang.String getId()
          Returns the -server id.
 java.util.Date getInitialStartTime()
          Returns the last start time.
 java.lang.String getResinConf()
          Returns the resinConf
 java.lang.String getResinHome()
          Returns the resinHome
 java.lang.String getResinRoot()
          Returns the resinRoot
 int getStartCount()
          Returns the number of times the server has been restarted.
 java.util.Date getStartTime()
          Returns the last start time.
 java.lang.String getState()
          The current lifecycle state.
 java.lang.String getUserName()
          Returns the userName
 void kill()
          Kills the Resin process
 void start()
          Start the Resin process
 void stop()
          Stop the Resin process
 

Method Detail

getId

java.lang.String getId()
Returns the -server id.


getResinHome

java.lang.String getResinHome()
Returns the resinHome


getResinRoot

java.lang.String getResinRoot()
Returns the resinRoot


getResinConf

java.lang.String getResinConf()
Returns the resinConf


getUserName

java.lang.String getUserName()
Returns the userName


getState

java.lang.String getState()
The current lifecycle state.


getInitialStartTime

java.util.Date getInitialStartTime()
Returns the last start time.


getStartTime

java.util.Date getStartTime()
Returns the last start time.


getStartCount

int getStartCount()
Returns the number of times the server has been restarted.


start

void start()
Start the Resin process


stop

void stop()
Stop the Resin process


kill

void kill()
Kills the Resin process