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

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

public abstract class ContainerResourceDecrease
extends Object

Used by Application Master to ask Node Manager reduce size of a specified container


Constructor Summary
ContainerResourceDecrease()
           
 
Method Summary
 boolean equals(Object other)
           
abstract  Resource getCapability()
           
abstract  ContainerId getContainerId()
           
 int hashCode()
           
static ContainerResourceDecrease 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

ContainerResourceDecrease

public ContainerResourceDecrease()
Method Detail

newInstance

@InterfaceAudience.Public
public static ContainerResourceDecrease 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.