|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices
public class AuxServices
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service |
|---|
org.apache.hadoop.service.Service.STATE |
| Field Summary | |
|---|---|
protected Map<String,org.apache.hadoop.yarn.server.api.AuxiliaryService> |
serviceMap
|
protected Map<String,ByteBuffer> |
serviceMetaData
|
| Constructor Summary | |
|---|---|
AuxServices()
|
|
| Method Summary | |
|---|---|
protected void |
addService(String name,
org.apache.hadoop.yarn.server.api.AuxiliaryService service)
|
Map<String,ByteBuffer> |
getMetaData()
|
void |
handle(AuxServicesEvent event)
|
void |
serviceInit(org.apache.hadoop.conf.Configuration conf)
|
void |
serviceStart()
|
void |
serviceStop()
|
void |
stateChanged(org.apache.hadoop.service.Service service)
|
| Methods inherited from class org.apache.hadoop.service.AbstractService |
|---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Map<String,org.apache.hadoop.yarn.server.api.AuxiliaryService> serviceMap
protected final Map<String,ByteBuffer> serviceMetaData
| Constructor Detail |
|---|
public AuxServices()
| Method Detail |
|---|
protected final void addService(String name,
org.apache.hadoop.yarn.server.api.AuxiliaryService service)
public Map<String,ByteBuffer> getMetaData()
public void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceException
public void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceException
public void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic void stateChanged(org.apache.hadoop.service.Service service)
stateChanged in interface org.apache.hadoop.service.ServiceStateChangeListenerpublic void handle(AuxServicesEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<AuxServicesEvent>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||