ProportionalCapacityPreemptionPolicy

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,217 of 1,2170%88 of 880%85852872874141
containerBasedPreemptOrKill(CSQueue, Resource)2360%180%1010555511
updateConfigIfNeeded()2110%100%66434311
preemptOrkillSelectedContainerAfterWait(Map, long)1440%180%1010292911
cloneQueues(CSQueue, Resource, String)1370%100%66404011
init(Configuration, RMContext, ResourceScheduler)510%60%44121211
syncKillableContainersFromScheduler()480%40%33121211
getLeafQueueNames(TempQueuePerPartition)430%60%44101011
logToCSV(List)430%20%22121211
ProportionalCapacityPreemptionPolicy(RMContext, CapacityScheduler, Clock)360%n/a11101011
editSchedule()310%20%228811
ProportionalCapacityPreemptionPolicy()300%n/a119911
addTempQueuePartition(TempQueuePerPartition)290%20%226611
addPartitionToUnderServedQueues(String, String)240%20%227711
getQueueByPartition(String, String)200%20%223311
getQueuePartitions(String)180%20%223311
lambda$cleanupStaledPreemptionCandidates$0(long, Map.Entry)160%20%221111
static {...}110%20%223311
getPartitionResource(String)100%n/a112211
cleanupStaledPreemptionCandidates(long)90%n/a113311
getUnderServedQueuesPerPartition(String)60%n/a111111
getClusterMaxApplicationPriority()50%n/a111111
getResourceCalculator()30%n/a111111
getMonitoringInterval()30%n/a111111
getToPreemptContainers()30%n/a111111
getScheduler()30%n/a111111
getRMContext()30%n/a111111
isObserveOnly()30%n/a111111
getKillableContainers()30%n/a111111
getMaxIgnoreOverCapacity()30%n/a111111
getNaturalTerminationFactor()30%n/a111111
getLeafQueueNames()30%n/a111111
getAllPartitions()30%n/a111111
getQueuePartitions()30%n/a111111
getToPreemptCandidatesPerSelector()30%n/a111111
getMaxAllowableLimitForIntraQueuePreemption()30%n/a111111
getMinimumThresholdForIntraQueuePreemption()30%n/a111111
getIntraQueuePreemptionOrderPolicy()30%n/a111111
getCrossQueuePreemptionConservativeDRF()30%n/a111111
getInQueuePreemptionConservativeDRF()30%n/a111111
getDefaultMaximumKillWaitTimeout()30%n/a111111
getPolicyName()20%n/a111111