this is called after reloading the allocation configuration when the scheduler is reinitilized checks to see whether any non-runnable applications become runnable now that the max running apps of given queue has been changed runs in o n where n is the number of apps that are non-runnable and in the queues that went from having no slack to having slack . concode_field_sep FairScheduler scheduler concode_elem_sep Map<String,Integer> usersNumRunnableApps concode_elem_sep int[] curPositionsInAppLists concode_elem_sep Log LOG concode_elem_sep ListMultimap<String,FSAppAttempt> usersNonRunnableApps concode_elem_sep PriorityQueue<IndexAndTime> appListsByCurStartTime concode_elem_sep int index concode_elem_sep long time concode_elem_sep List<FSAppAttempt>[] appLists concode_field_sep FSAppAttempt next concode_elem_sep void gatherPossiblyRunnableAppLists concode_elem_sep boolean hasNext concode_elem_sep int compareTo concode_elem_sep boolean canAppBeRunnable concode_elem_sep void updateRunnabilityOnAppRemoval concode_elem_sep void untrackRunnableApp concode_elem_sep void untrackNonRunnableApp concode_elem_sep void remove concode_elem_sep void trackRunnableApp concode_elem_sep void trackNonRunnableApp concode_elem_sep void updateAppsRunnability concode_elem_sep int hashCode concode_elem_sep boolean equals
void function ( ) { FSParentQueue loc0 = scheduler . getQueueManager ( ) . getRootQueue ( ) ; List < List < FSAppAttempt >> loc1 = new ArrayList < List < FSAppAttempt >> ( ) ; gatherPossiblyRunnableAppLists ( loc0 , loc1 ) ; updateAppsRunnability ( loc1 , Integer . MAX_VALUE ) ; }