code: public Queue<PoolSchedulable> getScheduleQueue() {
      if (scheduleQueue == null) {
        ScheduleComparator sc = configManager.getPoolGroupComparator(getName());
        scheduleQueue = createPoolQueue(sc);
      }
      return scheduleQueue;
    }
docs: Get the queue of pools sorted for scheduling
  @return the queue of pools sorted for scheduling