public abstract class PoolAdapter extends Object implements org.apache.geode.cache.client.Pool
PoolAdapter class is an abstract base class and default, no-op implementation of
the Pool interface that conveniently enables implementing classes to extend this adapter
and choose which Pool methods/operations are supported by this implementation.
For instance, one possible implementation is Spring Data GemFire's PoolFactoryBean, which can act as
a Pool in a context where only the Pool's "configuration" and meta-data are required,
but no actual connections or operating state information (e.g. pendingEventCount) is needed.PoolFactoryBean,
Pool| Modifier and Type | Field and Description |
|---|---|
static String |
NOT_IMPLEMENTED |
| Constructor and Description |
|---|
PoolAdapter() |
public static final String NOT_IMPLEMENTED
public boolean isDestroyed()
isDestroyed in interface org.apache.geode.cache.client.Poolpublic int getFreeConnectionTimeout()
getFreeConnectionTimeout in interface org.apache.geode.cache.client.Poolpublic long getIdleTimeout()
getIdleTimeout in interface org.apache.geode.cache.client.Poolpublic int getLoadConditioningInterval()
getLoadConditioningInterval in interface org.apache.geode.cache.client.Poolpublic List<InetSocketAddress> getLocators()
getLocators in interface org.apache.geode.cache.client.Poolpublic int getMaxConnections()
getMaxConnections in interface org.apache.geode.cache.client.Poolpublic int getMinConnections()
getMinConnections in interface org.apache.geode.cache.client.Poolpublic boolean getMultiuserAuthentication()
getMultiuserAuthentication in interface org.apache.geode.cache.client.Poolpublic String getName()
getName in interface org.apache.geode.cache.client.Poolpublic List<InetSocketAddress> getOnlineLocators()
getOnlineLocators in interface org.apache.geode.cache.client.Poolpublic int getPendingEventCount()
getPendingEventCount in interface org.apache.geode.cache.client.Poolpublic long getPingInterval()
getPingInterval in interface org.apache.geode.cache.client.Poolpublic boolean getPRSingleHopEnabled()
getPRSingleHopEnabled in interface org.apache.geode.cache.client.Poolpublic org.apache.geode.cache.query.QueryService getQueryService()
getQueryService in interface org.apache.geode.cache.client.Poolpublic int getReadTimeout()
getReadTimeout in interface org.apache.geode.cache.client.Poolpublic int getRetryAttempts()
getRetryAttempts in interface org.apache.geode.cache.client.Poolpublic int getServerConnectionTimeout()
getServerConnectionTimeout in interface org.apache.geode.cache.client.Poolpublic String getServerGroup()
getServerGroup in interface org.apache.geode.cache.client.Poolpublic List<InetSocketAddress> getServers()
getServers in interface org.apache.geode.cache.client.Poolpublic int getSocketBufferSize()
getSocketBufferSize in interface org.apache.geode.cache.client.Poolpublic int getSocketConnectTimeout()
getSocketConnectTimeout in interface org.apache.geode.cache.client.Poolpublic org.apache.geode.cache.client.SocketFactory getSocketFactory()
getSocketFactory in interface org.apache.geode.cache.client.Poolpublic int getStatisticInterval()
getStatisticInterval in interface org.apache.geode.cache.client.Poolpublic int getSubscriptionAckInterval()
getSubscriptionAckInterval in interface org.apache.geode.cache.client.Poolpublic boolean getSubscriptionEnabled()
getSubscriptionEnabled in interface org.apache.geode.cache.client.Poolpublic int getSubscriptionMessageTrackingTimeout()
getSubscriptionMessageTrackingTimeout in interface org.apache.geode.cache.client.Poolpublic int getSubscriptionRedundancy()
getSubscriptionRedundancy in interface org.apache.geode.cache.client.Poolpublic int getSubscriptionTimeoutMultiplier()
getSubscriptionTimeoutMultiplier in interface org.apache.geode.cache.client.Poolpublic boolean getThreadLocalConnections()
getThreadLocalConnections in interface org.apache.geode.cache.client.Poolpublic void destroy()
destroy in interface org.apache.geode.cache.client.Poolpublic void destroy(boolean keepAlive)
destroy in interface org.apache.geode.cache.client.Poolpublic void releaseThreadLocalConnection()
releaseThreadLocalConnection in interface org.apache.geode.cache.client.PoolCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.