public String getDefaultPoolName() {
    String result = null;
    Map<String, Pool> pools = getPools();
    if (pools.size() == 1) {
      Pool pool = pools.values().iterator().next();
      result = pool.getName();
    } else if (pools.isEmpty()) {
      result = "DEFAULT";
    }
    return result;
  }
Fills in the contents of a {@link Cache} based on this creation object's state.
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/ClientCacheCreation.java