Class AllocationExpirationInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.AllocationExpirationInfo
- All Implemented Interfaces:
Comparable<AllocationExpirationInfo>
public class AllocationExpirationInfo
extends Object
implements Comparable<AllocationExpirationInfo>
-
Constructor Summary
ConstructorsConstructorDescriptionAllocationExpirationInfo(org.apache.hadoop.yarn.api.records.ContainerId containerId) AllocationExpirationInfo(org.apache.hadoop.yarn.api.records.ContainerId containerId, boolean increase) -
Method Summary
-
Constructor Details
-
AllocationExpirationInfo
public AllocationExpirationInfo(org.apache.hadoop.yarn.api.records.ContainerId containerId) -
AllocationExpirationInfo
public AllocationExpirationInfo(org.apache.hadoop.yarn.api.records.ContainerId containerId, boolean increase)
-
-
Method Details
-
getContainerId
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId() -
isIncrease
public boolean isIncrease() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<AllocationExpirationInfo>
-
toString
-