public abstract class PoolAdapter extends Object implements org.apache.geode.cache.client.Pool
Pool interface
that conveniently enables implementing classes to extend this adapter to adapt their interfaces and serve
as a Pool.
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 not actual connections or operating state information (e.g. pendingEventCount).PoolFactoryBean,
Pool| Modifier and Type | Field and Description |
|---|---|
static String |
NOT_IMPLEMENTED |
| Constructor and Description |
|---|
PoolAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
destroy(boolean keepAlive) |
int |
getFreeConnectionTimeout() |
long |
getIdleTimeout() |
int |
getLoadConditioningInterval() |
List<InetSocketAddress> |
getLocators() |
int |
getMaxConnections() |
int |
getMinConnections() |
boolean |
getMultiuserAuthentication() |
String |
getName() |
List<InetSocketAddress> |
getOnlineLocators() |
int |
getPendingEventCount() |
long |
getPingInterval() |
boolean |
getPRSingleHopEnabled() |
org.apache.geode.cache.query.QueryService |
getQueryService() |
int |
getReadTimeout() |
int |
getRetryAttempts() |
String |
getServerGroup() |
List<InetSocketAddress> |
getServers() |
int |
getSocketBufferSize() |
int |
getStatisticInterval() |
int |
getSubscriptionAckInterval() |
boolean |
getSubscriptionEnabled() |
int |
getSubscriptionMessageTrackingTimeout() |
int |
getSubscriptionRedundancy() |
boolean |
getThreadLocalConnections() |
boolean |
isDestroyed() |
void |
releaseThreadLocalConnection() |
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 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 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 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–2018 Pivotal Software, Inc.. All rights reserved.