public class PoolManagerPoolResolver extends Object implements PoolResolver
PoolManagerPoolResolver
is an implementation of PoolResolver
that delegates all Pool
resolution logic to the Apache Geode PoolManager
.Region
,
Pool
,
PoolManager
,
PoolResolver
DEFAULT_POOL_NAME
Constructor and Description |
---|
PoolManagerPoolResolver() |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.client.Pool |
resolve(org.apache.geode.cache.Region<?,?> region)
Resolves the
Pool used by the given Region by delegating to PoolManager.find(Region) . |
org.apache.geode.cache.client.Pool |
resolve(String poolName)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
require, resolve
@Nullable public org.apache.geode.cache.client.Pool resolve(@Nullable org.apache.geode.cache.Region<?,?> region)
Pool
used by the given Region
by delegating to PoolManager.find(Region)
.resolve
in interface PoolResolver
region
- Region
from which to resolve the associated Pool
.Pool
used by the given Region
.PoolManager.find(Region)
,
Pool
@Nullable public org.apache.geode.cache.client.Pool resolve(@Nullable String poolName)
resolve
in interface PoolResolver
poolName
- name
of the Pool
to resolve.Pool
with the given name
or null
if no Pool
exists with
the name
.PoolManager.find(String)
,
Pool
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.