private void fill(Phase phase, int[] vals) {
    int i = 0;
    for (ResourceAnalyzer ra : ras) {
      vals[i++] = ra.getVal(phase);
    }
  }
The value for the resource.
@param phase the {@link Phase} to get the value for
hbase-common/src/test/java/org/apache/hadoop/hbase/ResourceChecker.java