org.apache.hadoop.yarn.api.records
Class ContainerResourceDecrease
java.lang.Object
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
ContainerResourceDecrease
public ContainerResourceDecrease()
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.