boolean isStarvedForMinShare ( JobInfo info , TaskType taskType ) { float starvingThreshold = ( float ) ( minTasks ( info , taskType ) * 0.9 ) ; return runningTasks ( info , taskType ) < starvingThreshold ; }
Is a job below 90% of its min share for the given task type?