Spring Data for VMware GemFire
Class PoolManagerPoolResolver
java.lang.Object
org.springframework.data.gemfire.client.support.PoolManagerPoolResolver
- All Implemented Interfaces:
PoolResolver
PoolManagerPoolResolver is an implementation of PoolResolver that delegates all Pool
resolution logic to the Apache Geode PoolManager.- Since:
- 2.3.0
- See Also:
-
RegionPoolPoolManagerPoolResolver
-
Field Summary
Fields inherited from interface org.springframework.data.gemfire.client.PoolResolver
DEFAULT_POOL_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.geode.cache.client.Poolorg.apache.geode.cache.client.Poolresolve(org.apache.geode.cache.Region<?, ?> region) Resolves thePoolused by the givenRegionby delegating toPoolManager.find(Region).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.gemfire.client.PoolResolver
require, resolve
-
Constructor Details
-
PoolManagerPoolResolver
public PoolManagerPoolResolver()
-
-
Method Details
-
resolve
@Nullable public org.apache.geode.cache.client.Pool resolve(@Nullable org.apache.geode.cache.Region<?, ?> region) Resolves thePoolused by the givenRegionby delegating toPoolManager.find(Region).- Specified by:
resolvein interfacePoolResolver- Parameters:
region-Regionfrom which to resolve the associatedPool.- Returns:
- the
Poolused by the givenRegion. - See Also:
-
PoolManager.find(Region)Pool
-
resolve
- Specified by:
resolvein interfacePoolResolver- Parameters:
poolName-nameof thePoolto resolve.- Returns:
- the
Poolwith the givennameor {@link null} if noPoolexists with thename. - See Also:
-
PoolManager.find(String)Pool
-