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