code: public synchronized int getPoolMinimum(PoolInfo poolInfo, ResourceType type) {
      Integer min = (typePoolInfoToMin == null) ? null :
          typePoolInfoToMin.get(type, poolInfo);
      return min == null ? 0 : min;
    }
docs: Get the configured minimum allocation for a given {@link ResourceType}
  in a given pool
  @param poolInfo Pool info to check
  @param type the type of the resource
  @return the minimum allocation for the resource in a pool