Home | History | Annotate | Download | only in service

Lines Matching refs:State

23  * An object with an operational state, asynchronous {@link #start()} and
24 * {@link #stop()} lifecycle methods to transition in and out of this state.
36 * service has finished starting, and returns the resultant state. If
41 Future<State> start();
44 * If the service is {@link State#STARTED} initiates service shutdown and
51 * State#STOPPED} or throws an {@link ExecutionException}. If it has
54 Future<State> stop();
57 * Returns the current state of this service. One of {@link State} possible
59 * any state yet.
61 State state();
66 enum State { STARTED, STOPPED, FAILED }