Generated by
JDiff

Interface org.apache.hadoop.service.Service

Changed Methods
void close() Changed from abstract to non-abstract. A version of stop() that is designed to be usable in Java7 closure clauses.
Map getBlockers() Changed from abstract to non-abstract. Get the blockers on a service -remote dependencies that are stopping the service from being live.
Configuration getConfig() Changed from abstract to non-abstract. Get the configuration of this service.
Throwable getFailureCause() Changed from abstract to non-abstract. Get the first exception raised during the service failure.
STATE getFailureState() Changed from abstract to non-abstract. Get the state in which the failure in #getFailureCause() occurred.
List getLifecycleHistory() Changed from abstract to non-abstract. Get a snapshot of the lifecycle history; it is a static list
String getName() Changed from abstract to non-abstract. Get the name of this service.
STATE getServiceState() Changed from abstract to non-abstract. Get the current service state
long getStartTime() Changed from abstract to non-abstract. Get the service start time
void init(Configuration) Changed from abstract to non-abstract. Initialize the service.
boolean isInState(STATE) Changed from abstract to non-abstract. Query to see if the service is in a specific state.
void registerServiceListener(ServiceStateChangeListener) Changed from abstract to non-abstract. Register a listener to the service state change events.
void start() Changed from abstract to non-abstract. Start the service.
void stop() Changed from abstract to non-abstract. Stop the service.
void unregisterServiceListener(ServiceStateChangeListener) Changed from abstract to non-abstract. Unregister a previously registered listener of the service state change events.
boolean waitForServiceToStop(long) Changed from abstract to non-abstract. Block waiting for the service to stop; uses the termination notification object to do so.