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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static classprotected static classprotected static classprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.hadoop.yarn.state.StateMachineFactory<NMClientAsyncImpl.StatefulContainer,NMClientAsyncImpl.ContainerState, NMClientAsyncImpl.ContainerEventType, NMClientAsyncImpl.ContainerEvent> -
Constructor Summary
ConstructorsConstructorDescriptionStatefulContainer(NMClientAsync client, org.apache.hadoop.yarn.api.records.ContainerId containerId) -
Method Summary
-
Field Details
-
stateMachineFactory
protected static final org.apache.hadoop.yarn.state.StateMachineFactory<NMClientAsyncImpl.StatefulContainer,NMClientAsyncImpl.ContainerState, stateMachineFactoryNMClientAsyncImpl.ContainerEventType, NMClientAsyncImpl.ContainerEvent>
-
-
Constructor Details
-
StatefulContainer
public StatefulContainer(NMClientAsync client, org.apache.hadoop.yarn.api.records.ContainerId containerId)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceorg.apache.hadoop.yarn.event.EventHandler<NMClientAsyncImpl.ContainerEvent>
-
getContainerId
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId() -
getState
-