org.apache.hadoop.yarn.api.records
Class ContainerResourceIncreaseRequest

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ContainerResourceIncreaseRequest

@InterfaceAudience.Public
public abstract class ContainerResourceIncreaseRequest
extends Object

Used by Application Master, send a container resource increase request to Resource Manager


Constructor Summary
ContainerResourceIncreaseRequest()
           
 
Method Summary
 boolean equals(Object other)
           
abstract  Resource getCapability()
           
abstract  ContainerId getContainerId()
           
 int hashCode()
           
static ContainerResourceIncreaseRequest newInstance(ContainerId existingContainerId, Resource targetCapability)
           
abstract  void setCapability(Resource capability)
           
abstract  void setContainerId(ContainerId containerId)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerResourceIncreaseRequest

public ContainerResourceIncreaseRequest()
Method Detail

newInstance

@InterfaceAudience.Public
public static ContainerResourceIncreaseRequest newInstance(ContainerId existingContainerId,
                                                                                    Resource targetCapability)

getContainerId

@InterfaceAudience.Public
public abstract ContainerId getContainerId()

setContainerId

@InterfaceAudience.Public
public abstract void setContainerId(ContainerId containerId)

getCapability

@InterfaceAudience.Public
public abstract Resource getCapability()

setCapability

@InterfaceAudience.Public
public abstract void setCapability(Resource capability)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.