public class TempAppPerPartition extends AbstractPreemptionEntity
amUsed, current, pending, reserved| Modifier and Type | Method and Description | 
|---|---|
| void | assignPreemption(org.apache.hadoop.yarn.api.records.Resource killable) | 
| void | deductActuallyToBePreempted(org.apache.hadoop.yarn.util.resource.ResourceCalculator resourceCalculator,
                           org.apache.hadoop.yarn.api.records.Resource cluster,
                           org.apache.hadoop.yarn.api.records.Resource toBeDeduct) | 
| org.apache.hadoop.yarn.api.records.ApplicationId | getApplicationId() | 
| FiCaSchedulerApp | getFiCaSchedulerApp() | 
| int | getPriority() | 
| TempUserPerPartition | getTempUserPerPartition() | 
| String | getUser() | 
| void | setTempUserPerPartition(TempUserPerPartition tu) | 
| String | toString() | 
getActuallyToBePreempted, getAMUsed, getPending, getQueueName, getReserved, getToBePreemptFromOther, getUsed, getUsedDeductAM, setActuallyToBePreempted, setToBePreemptFromOtherpublic FiCaSchedulerApp getFiCaSchedulerApp()
public void assignPreemption(org.apache.hadoop.yarn.api.records.Resource killable)
public int getPriority()
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
public String getUser()
public void deductActuallyToBePreempted(org.apache.hadoop.yarn.util.resource.ResourceCalculator resourceCalculator,
                                        org.apache.hadoop.yarn.api.records.Resource cluster,
                                        org.apache.hadoop.yarn.api.records.Resource toBeDeduct)
public void setTempUserPerPartition(TempUserPerPartition tu)
public TempUserPerPartition getTempUserPerPartition()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.