|
||||||||||
| 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.tez.dag.app.rm.container.AMContainerMap
public class AMContainerMap
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service |
|---|
org.apache.hadoop.service.Service.STATE |
| Constructor Summary | |
|---|---|
AMContainerMap(ContainerHeartbeatHandler chh,
TaskAttemptListener tal,
ContainerSignatureMatcher containerSignatureMatcher,
AppContext context)
|
|
| Method Summary | |
|---|---|
boolean |
addContainerIfNew(org.apache.hadoop.yarn.api.records.Container container)
|
AMContainer |
get(org.apache.hadoop.yarn.api.records.ContainerId containerId)
|
void |
handle(AMContainerEvent event)
|
void |
serviceInit(org.apache.hadoop.conf.Configuration conf)
|
Collection<AMContainer> |
values()
|
| 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, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AMContainerMap(ContainerHeartbeatHandler chh,
TaskAttemptListener tal,
ContainerSignatureMatcher containerSignatureMatcher,
AppContext context)
| Method Detail |
|---|
public void serviceInit(org.apache.hadoop.conf.Configuration conf)
serviceInit in class org.apache.hadoop.service.AbstractServicepublic void handle(AMContainerEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<AMContainerEvent>public boolean addContainerIfNew(org.apache.hadoop.yarn.api.records.Container container)
public AMContainer get(org.apache.hadoop.yarn.api.records.ContainerId containerId)
public Collection<AMContainer> values()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||