@InterfaceAudience.Public

Package org.apache.hadoop.service

Interface Summary
Service Service LifeCycle.
ServiceStateChangeListener Interface to notify state changes of a service.
 

Class Summary
AbstractService This is the base implementation class for services.
CompositeService Composition of services.
CompositeService.CompositeServiceShutdownHook JVM Shutdown hook for CompositeService which will stop the give CompositeService gracefully in case of JVM shutdown.
LifecycleEvent A serializable lifecycle event: the time a state transition occurred, and what state was entered.
LoggingStateChangeListener This is a state change listener that logs events at INFO level
ServiceOperations This class contains a set of methods to work with services, especially to walk them through their lifecycle.
ServiceOperations.ServiceListeners Class to manage a list of ServiceStateChangeListener instances, including a notification loop that is robust against changes to the list during the notification process.
ServiceStateModel Implements the service state model.
 

Enum Summary
Service.STATE Service states
 

Exception Summary
ServiceStateException Exception that is raised on state change operations.
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.