Package | Description |
---|---|
org.apache.hadoop.service |
Modifier and Type | Class and Description |
---|---|
class |
AbstractService
This is the base implementation class for services.
|
class |
CompositeService
Composition of services.
|
Modifier and Type | Method and Description |
---|---|
List<Service> |
CompositeService.getServices()
Get a cloned list of services
|
Modifier and Type | Method and Description |
---|---|
protected void |
CompositeService.addService(Service service)
Add the passed
Service to the list of services managed by this
CompositeService |
void |
ServiceOperations.ServiceListeners.notifyListeners(Service service)
Change to a new state and notify all listeners.
|
protected boolean |
CompositeService.removeService(Service service) |
void |
ServiceStateChangeListener.stateChanged(Service service)
Callback to notify of a state change.
|
void |
LoggingStateChangeListener.stateChanged(Service service)
Callback for a state change event: log it
|
static void |
ServiceOperations.stop(Service service)
Stop a service.
|
static Exception |
ServiceOperations.stopQuietly(org.apache.commons.logging.Log log,
Service service)
Stop a service; if it is null do nothing.
|
static Exception |
ServiceOperations.stopQuietly(Service service)
Stop a service; if it is null do nothing.
|
Copyright © 2015 Apache Software Foundation. All Rights Reserved.