protected static class NMClientAsyncImpl.StatefulContainer extends Object implements org.apache.hadoop.yarn.event.EventHandler<NMClientAsyncImpl.ContainerEvent>
Modifier and Type | Class and Description |
---|---|
protected static class |
NMClientAsyncImpl.StatefulContainer.OutOfOrderTransition |
protected static class |
NMClientAsyncImpl.StatefulContainer.ReInitializeContainerTransition |
protected static class |
NMClientAsyncImpl.StatefulContainer.StartContainerTransition |
protected static class |
NMClientAsyncImpl.StatefulContainer.StopContainerTransition |
protected static class |
NMClientAsyncImpl.StatefulContainer.UpdateContainerResourceTransition |
Modifier and Type | Field and Description |
---|---|
protected static org.apache.hadoop.yarn.state.StateMachineFactory<NMClientAsyncImpl.StatefulContainer,NMClientAsyncImpl.ContainerState,NMClientAsyncImpl.ContainerEventType,NMClientAsyncImpl.ContainerEvent> |
stateMachineFactory |
Constructor and Description |
---|
StatefulContainer(NMClientAsync client,
org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId() |
NMClientAsyncImpl.ContainerState |
getState() |
void |
handle(NMClientAsyncImpl.ContainerEvent event) |
protected static final org.apache.hadoop.yarn.state.StateMachineFactory<NMClientAsyncImpl.StatefulContainer,NMClientAsyncImpl.ContainerState,NMClientAsyncImpl.ContainerEventType,NMClientAsyncImpl.ContainerEvent> stateMachineFactory
public StatefulContainer(NMClientAsync client, org.apache.hadoop.yarn.api.records.ContainerId containerId)
public void handle(NMClientAsyncImpl.ContainerEvent event)
handle
in interface org.apache.hadoop.yarn.event.EventHandler<NMClientAsyncImpl.ContainerEvent>
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
public NMClientAsyncImpl.ContainerState getState()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.