org.apache.hadoop.yarn.server.resourcemanager.rmcontainer
Class RMContainerReservedEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<RMContainerEventType>
org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerEvent
org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerReservedEvent
- All Implemented Interfaces:
- org.apache.hadoop.yarn.event.Event<RMContainerEventType>
public class RMContainerReservedEvent
- extends RMContainerEvent
The event signifying that a container has been reserved.
The event encapsulates information on the amount of reservation
and the node on which the reservation is in effect.
Constructor Summary |
RMContainerReservedEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.Resource reservedResource,
org.apache.hadoop.yarn.api.records.NodeId reservedNode,
org.apache.hadoop.yarn.api.records.Priority reservedPriority)
|
Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent |
getTimestamp, getType, toString |
RMContainerReservedEvent
public RMContainerReservedEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.Resource reservedResource,
org.apache.hadoop.yarn.api.records.NodeId reservedNode,
org.apache.hadoop.yarn.api.records.Priority reservedPriority)
getReservedResource
public org.apache.hadoop.yarn.api.records.Resource getReservedResource()
getReservedNode
public org.apache.hadoop.yarn.api.records.NodeId getReservedNode()
getReservedPriority
public org.apache.hadoop.yarn.api.records.Priority getReservedPriority()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.