Package | Description |
---|---|
org.apache.hadoop.service | |
org.apache.hadoop.util |
Common utilities.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
NodeHealthScriptRunner
The class which provides functionality of checking the health of the node
using the configured node health script and reporting back to the service
for which the health checker has been asked to report.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.