public class AuxServices extends org.apache.hadoop.yarn.service.AbstractService implements org.apache.hadoop.yarn.service.ServiceStateChangeListener, org.apache.hadoop.yarn.event.EventHandler<AuxServicesEvent>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuxServices.AuxiliaryService |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AuxServices.AuxiliaryService> |
serviceMap |
protected Map<String,ByteBuffer> |
serviceMeta |
| Constructor and Description |
|---|
AuxServices() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addService(String name,
AuxServices.AuxiliaryService service) |
Map<String,ByteBuffer> |
getMeta() |
void |
handle(AuxServicesEvent event) |
void |
init(org.apache.hadoop.conf.Configuration conf) |
void |
start() |
void |
stateChanged(org.apache.hadoop.yarn.service.Service service) |
void |
stop() |
protected final Map<String,AuxServices.AuxiliaryService> serviceMap
protected final Map<String,ByteBuffer> serviceMeta
protected final void addService(String name, AuxServices.AuxiliaryService service)
public Map<String,ByteBuffer> getMeta()
public void init(org.apache.hadoop.conf.Configuration conf)
init in interface org.apache.hadoop.yarn.service.Serviceinit in class org.apache.hadoop.yarn.service.AbstractServicepublic void start()
start in interface org.apache.hadoop.yarn.service.Servicestart in class org.apache.hadoop.yarn.service.AbstractServicepublic void stop()
stop in interface org.apache.hadoop.yarn.service.Servicestop in class org.apache.hadoop.yarn.service.AbstractServicepublic void stateChanged(org.apache.hadoop.yarn.service.Service service)
stateChanged in interface org.apache.hadoop.yarn.service.ServiceStateChangeListenerpublic void handle(AuxServicesEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<AuxServicesEvent>Copyright © 2014 Apache Software Foundation. All Rights Reserved.