code: public PoolSchedulable getPool(PoolInfo poolInfo) {
      PoolSchedulable pool = nameToMap.get(poolInfo);
      if (pool == null) {
        pool = new PoolSchedulable(poolInfo, getType(), configManager);
        PoolSchedulable prevPool = nameToMap.putIfAbsent(poolInfo, pool);
        if (prevPool != null) {
          pool = prevPool;
        }
      }
      return pool;
    }
docs: Get a pool, creating it if it does not exist.  Note that these
  pools are never removed.
  
  @param poolInfo Pool info used
  @return Pool that existed or was created