| com.caucho.management.j2ee.StateManageable
StateManageable | public interface StateManageable (Code) | | Base class interface for managed objects that have lifecycle state management.
StateManageable.getState() returns an integer representing the current state.
|
Method Summary | |
public long | getStartTime() The time that the managed object was started and entered the
RUNNING state. | public int | getState() Returns the current state of the managed object. | public void | start() Start the managed object when it is in the
STOPPED or
FAILED state. | public void | startRecursive() Starts the managed object (See
StateManageable.start() , and then recursively
starts any children. | public void | stop() Stop the managed object when it is in the
RUNNING or
FAILED state. |
FAILED | final public static int FAILED(Code) | | |
RUNNING | final public static int RUNNING(Code) | | |
STARTING | final public static int STARTING(Code) | | |
STOPPED | final public static int STOPPED(Code) | | |
STOPPING | final public static int STOPPING(Code) | | |
getStartTime | public long getStartTime()(Code) | | The time that the managed object was started and entered the
RUNNING state. The value is the number of milliseconds since 00:00 January 1, 1970.
|
getState | public int getState()(Code) | | Returns the current state of the managed object.
|
startRecursive | public void startRecursive()(Code) | | Starts the managed object (See
StateManageable.start() , and then recursively
starts any children.
|
|
|