Example usage for Java org.apache.hadoop.service Service fields, constructors, methods, implement or subclass
The text is from its open source code.
Throwable | getFailureCause() Get the first exception raised during the service failure. |
STATE | getFailureState() Get the state in which the failure in #getFailureCause() occurred. |
String | getName() Get the name of this service. |
STATE | getServiceState() Get the current service state |
void | init(Configuration config) Initialize the service. |
boolean | isInState(STATE state) Query to see if the service is in a specific state. |
void | registerServiceListener(ServiceStateChangeListener listener) Register a listener to the service state change events. |
void | start() Start the service. |
void | stop() Stop the service. |