ProportionalCapacityPreemptionPolicy

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,321 of 1,3210%92 of 920%87872852854141
updateConfigIfNeeded()2650%100%66434311
containerBasedPreemptOrKill(CSQueue, Resource)2360%180%1010555511
preemptOrkillSelectedContainerAfterWait(Map, long)1530%180%1010292911
cloneQueues(CSQueue, Resource, String)1370%100%66404011
init(Configuration, RMContext, ResourceScheduler)660%60%44121211
logToCSV(List)490%20%22121211
syncKillableContainersFromScheduler()480%40%33121211
getLeafQueueNames(TempQueuePerPartition)430%100%668811
editSchedule()390%20%228811
ProportionalCapacityPreemptionPolicy(RMContext, CapacityScheduler, Clock)360%n/a11101011
ProportionalCapacityPreemptionPolicy()300%n/a119911
addTempQueuePartition(TempQueuePerPartition)290%20%226611
getQueueByPartition(String, String)260%20%223311
getQueuePartitions(String)240%20%223311
addPartitionToUnderServedQueues(String, String)240%20%227711
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()0%n/a111111