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 RMContainer
public ApplicationAttemptId getApplicationAttemptId()
getApplicationAttemptId
in interface RMContainer
public Container getContainer()
getContainer
in interface RMContainer
public RMContainerState getState()
getState
in interface RMContainer
public Resource getReservedResource()
getReservedResource
in interface RMContainer
public NodeId getReservedNode()
getReservedNode
in interface RMContainer
public Priority getReservedPriority()
getReservedPriority
in interface RMContainer
public void handle(RMContainerEvent event)
handle
in interface EventHandler<RMContainerEvent>
Copyright © 2013 Apache Software Foundation. All rights reserved.