code: public synchronized int getPoolGroupMinimum(String poolGroupName,
                                                ResourceType type) {
      Integer min = (typePoolGroupNameToMin == null) ? null :
          typePoolGroupNameToMin.get(type, poolGroupName);
      return min == null ? 0 : min;
    }
docs: Get the configured minimum allocation for a given {@link ResourceType}
  in a given pool group
  @param poolGroupName the name of the pool group
  @param type the type of the resource
  @return the minimum allocation for the resource in a pool group