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() |
String |
getUser() |
String |
toString() |
getActuallyToBePreempted, getAMUsed, getPending, getReserved, getToBePreemptFromOther, getUsed, getUsedDeductAM, setActuallyToBePreempted, setToBePreemptFromOther
public 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)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.