Class ClientCacheDefaultPoolResolver

java.lang.Object
org.springframework.data.gemfire.client.support.ClientCacheDefaultPoolResolver
All Implemented Interfaces:
PoolResolver

public class ClientCacheDefaultPoolResolver extends Object implements PoolResolver
PoolResolver implementation used to resolve the DEFAULT Pool from a ClientCache instance by lazily resolving the ClientCache instance and calling ClientCache.getDefaultPool() on DEFAULT Pool resolution.
Since:
2.3.0
See Also:
  • Constructor Details

  • Method Details

    • getClientCacheResolver

      @NonNull protected CacheResolver<org.apache.geode.cache.client.ClientCache> getClientCacheResolver()
      Returns a reference to the configured CacheResolver used to (lazily) resolve the ClientCache instance.
      Returns:
      the configured CacheResolver used to resolve the ClientCache instance.
      See Also:
    • resolve

      @Nullable public org.apache.geode.cache.client.Pool resolve(@Nullable String poolName)
      Description copied from interface: PoolResolver
      Resolves a Pool with the given name.
      Specified by:
      resolve in interface PoolResolver
      Parameters:
      poolName - name of the Pool to resolve.
      Returns:
      the Pool with the given name or {@link null} if no Pool exists with the name.
      See Also:
      • Pool