Java org.apache.hadoop.service Service fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.service Service fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.service Service.

The text is from its open source code.

Implementation

org.apache.hadoop.service.Service has the following implementations.
Click this link to see all its implementation.

Method

ThrowablegetFailureCause()
Get the first exception raised during the service failure.
STATEgetFailureState()
Get the state in which the failure in #getFailureCause() occurred.
StringgetName()
Get the name of this service.
STATEgetServiceState()
Get the current service state
voidinit(Configuration config)
Initialize the service.
booleanisInState(STATE state)
Query to see if the service is in a specific state.
voidregisterServiceListener(ServiceStateChangeListener listener)
Register a listener to the service state change events.
voidstart()
Start the service.
voidstop()
Stop the service.