public static PoolManagerImpl getCurrentPoolManager() {
    return createInProgress.get();
  }
Returns null if the current thread is not doing a CacheCreation create. Otherwise returns the
PoolManagerImpl of the CacheCreation of the create being invoked.

@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheCreation.java