public class TempUserPerPartition extends AbstractPreemptionEntity
amUsed, current, pending, reserved| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.yarn.api.records.Resource | getUserLimit() | 
| String | getUserName() | 
| boolean | isPreemptionQuotaForULDeltaDone() | 
| boolean | isUserLimitReached(org.apache.hadoop.yarn.util.resource.ResourceCalculator rc,
                  org.apache.hadoop.yarn.api.records.Resource clusterResource) | 
| void | setUserLimit(org.apache.hadoop.yarn.api.records.Resource userLimitResource) | 
| String | toString() | 
| void | updatePreemptionQuotaForULDeltaAsDone(boolean done) | 
getActuallyToBePreempted, getAMUsed, getPending, getQueueName, getReserved, getToBePreemptFromOther, getUsed, getUsedDeductAM, setActuallyToBePreempted, setToBePreemptFromOtherpublic String getUserName()
public org.apache.hadoop.yarn.api.records.Resource getUserLimit()
public void setUserLimit(org.apache.hadoop.yarn.api.records.Resource userLimitResource)
public boolean isUserLimitReached(org.apache.hadoop.yarn.util.resource.ResourceCalculator rc,
                                  org.apache.hadoop.yarn.api.records.Resource clusterResource)
public boolean isPreemptionQuotaForULDeltaDone()
public void updatePreemptionQuotaForULDeltaAsDone(boolean done)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.