public class NodeHealthCheckerService extends CompositeService
CompositeService.CompositeServiceShutdownHookService.STATESTOP_ONLY_STARTED_SERVICES| Constructor and Description |
|---|
NodeHealthCheckerService() |
| Modifier and Type | Method and Description |
|---|---|
LocalDirsHandlerService |
getDiskHandler() |
protected void |
serviceInit(Configuration conf)
All initialization code needed by a service.
|
addIfService, addService, getServices, removeService, serviceStart, serviceStopclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected void serviceInit(Configuration conf) throws Exception
AbstractServiceAbstractService.init(Configuration) prevents re-entrancy.
The base implementation checks to see if the subclass has created
a new configuration instance, and if so, updates the base class valueserviceInit in class CompositeServiceconf - configurationException - on a failure -these will be caught,
possibly wrapped, and wil; trigger a service stoppublic LocalDirsHandlerService getDiskHandler()
Copyright © 2013 Apache Software Foundation. All rights reserved.