public static Map<String, Pool> getAll() {
    return PoolManagerImpl.getPMI().getMap();
  }
Returns a map containing all the pools in this manager. The keys are pool names and the values
are {@link Pool} instances.
<p>
The map contains the pools that this manager knows of at the time of this call. The map is free
to be changed without affecting this manager.

@return a Map that is a snapshot of all the pools currently known to this manager.
geode-core/src/main/java/org/apache/geode/cache/client/PoolManager.java