org.apache.hadoop.yarn.client.api.async.impl
Class NMClientAsyncImpl.StatefulContainer
java.lang.Object
org.apache.hadoop.yarn.client.api.async.impl.NMClientAsyncImpl.StatefulContainer
- All Implemented Interfaces:
- org.apache.hadoop.yarn.event.EventHandler<NMClientAsyncImpl.ContainerEvent>
- Enclosing class:
- NMClientAsyncImpl
protected static class NMClientAsyncImpl.StatefulContainer
- extends Object
- implements org.apache.hadoop.yarn.event.EventHandler<NMClientAsyncImpl.ContainerEvent>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stateMachineFactory
protected static final org.apache.hadoop.yarn.state.StateMachineFactory<NMClientAsyncImpl.StatefulContainer,NMClientAsyncImpl.ContainerState,NMClientAsyncImpl.ContainerEventType,NMClientAsyncImpl.ContainerEvent> stateMachineFactory
NMClientAsyncImpl.StatefulContainer
public NMClientAsyncImpl.StatefulContainer(NMClientAsync client,
org.apache.hadoop.yarn.api.records.ContainerId containerId)
handle
public void handle(NMClientAsyncImpl.ContainerEvent event)
- Specified by:
handle
in interface org.apache.hadoop.yarn.event.EventHandler<NMClientAsyncImpl.ContainerEvent>
getContainerId
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
getState
public NMClientAsyncImpl.ContainerState getState()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.