public class AllocationExpirationInfo extends Object implements Comparable<AllocationExpirationInfo>
Constructor and Description |
---|
AllocationExpirationInfo(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
AllocationExpirationInfo(org.apache.hadoop.yarn.api.records.ContainerId containerId,
boolean increase) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AllocationExpirationInfo other) |
boolean |
equals(Object other) |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId() |
int |
hashCode() |
boolean |
isIncrease() |
String |
toString() |
public AllocationExpirationInfo(org.apache.hadoop.yarn.api.records.ContainerId containerId)
public AllocationExpirationInfo(org.apache.hadoop.yarn.api.records.ContainerId containerId, boolean increase)
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
public boolean isIncrease()
public int compareTo(AllocationExpirationInfo other)
compareTo
in interface Comparable<AllocationExpirationInfo>
Copyright © 2017 Apache Software Foundation. All Rights Reserved.