public class RMContainerImpl extends Object implements RMContainer
| Constructor and Description |
|---|
RMContainerImpl(Container container,
ApplicationAttemptId appAttemptId,
NodeId nodeId,
EventHandler handler,
ContainerAllocationExpirer containerAllocationExpirer) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationAttemptId |
getApplicationAttemptId() |
Container |
getContainer() |
ContainerId |
getContainerId() |
NodeId |
getReservedNode() |
Priority |
getReservedPriority() |
Resource |
getReservedResource() |
RMContainerState |
getState() |
void |
handle(RMContainerEvent event) |
String |
toString() |
public RMContainerImpl(Container container, ApplicationAttemptId appAttemptId, NodeId nodeId, EventHandler handler, ContainerAllocationExpirer containerAllocationExpirer)
public ContainerId getContainerId()
getContainerId in interface RMContainerpublic ApplicationAttemptId getApplicationAttemptId()
getApplicationAttemptId in interface RMContainerpublic Container getContainer()
getContainer in interface RMContainerpublic RMContainerState getState()
getState in interface RMContainerpublic Resource getReservedResource()
getReservedResource in interface RMContainerpublic NodeId getReservedNode()
getReservedNode in interface RMContainerpublic Priority getReservedPriority()
getReservedPriority in interface RMContainerpublic void handle(RMContainerEvent event)
handle in interface EventHandler<RMContainerEvent>Copyright © 2013 Apache Software Foundation. All rights reserved.