public abstract class PoolAdapter extends Object implements com.gemstone.gemfire.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() |
int |
getPendingEventCount() |
long |
getPingInterval() |
boolean |
getPRSingleHopEnabled() |
com.gemstone.gemfire.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 com.gemstone.gemfire.cache.client.Poolpublic int getFreeConnectionTimeout()
getFreeConnectionTimeout in interface com.gemstone.gemfire.cache.client.Poolpublic long getIdleTimeout()
getIdleTimeout in interface com.gemstone.gemfire.cache.client.Poolpublic int getLoadConditioningInterval()
getLoadConditioningInterval in interface com.gemstone.gemfire.cache.client.Poolpublic List<InetSocketAddress> getLocators()
getLocators in interface com.gemstone.gemfire.cache.client.Poolpublic int getMaxConnections()
getMaxConnections in interface com.gemstone.gemfire.cache.client.Poolpublic int getMinConnections()
getMinConnections in interface com.gemstone.gemfire.cache.client.Poolpublic boolean getMultiuserAuthentication()
getMultiuserAuthentication in interface com.gemstone.gemfire.cache.client.Poolpublic String getName()
getName in interface com.gemstone.gemfire.cache.client.Poolpublic boolean getPRSingleHopEnabled()
getPRSingleHopEnabled in interface com.gemstone.gemfire.cache.client.Poolpublic int getPendingEventCount()
getPendingEventCount in interface com.gemstone.gemfire.cache.client.Poolpublic long getPingInterval()
getPingInterval in interface com.gemstone.gemfire.cache.client.Poolpublic com.gemstone.gemfire.cache.query.QueryService getQueryService()
getQueryService in interface com.gemstone.gemfire.cache.client.Poolpublic int getReadTimeout()
getReadTimeout in interface com.gemstone.gemfire.cache.client.Poolpublic int getRetryAttempts()
getRetryAttempts in interface com.gemstone.gemfire.cache.client.Poolpublic String getServerGroup()
getServerGroup in interface com.gemstone.gemfire.cache.client.Poolpublic List<InetSocketAddress> getServers()
getServers in interface com.gemstone.gemfire.cache.client.Poolpublic int getSocketBufferSize()
getSocketBufferSize in interface com.gemstone.gemfire.cache.client.Poolpublic int getStatisticInterval()
getStatisticInterval in interface com.gemstone.gemfire.cache.client.Poolpublic int getSubscriptionAckInterval()
getSubscriptionAckInterval in interface com.gemstone.gemfire.cache.client.Poolpublic boolean getSubscriptionEnabled()
getSubscriptionEnabled in interface com.gemstone.gemfire.cache.client.Poolpublic int getSubscriptionMessageTrackingTimeout()
getSubscriptionMessageTrackingTimeout in interface com.gemstone.gemfire.cache.client.Poolpublic int getSubscriptionRedundancy()
getSubscriptionRedundancy in interface com.gemstone.gemfire.cache.client.Poolpublic boolean getThreadLocalConnections()
getThreadLocalConnections in interface com.gemstone.gemfire.cache.client.Poolpublic void destroy()
destroy in interface com.gemstone.gemfire.cache.client.Poolpublic void destroy(boolean keepAlive)
destroy in interface com.gemstone.gemfire.cache.client.Poolpublic void releaseThreadLocalConnection()
releaseThreadLocalConnection in interface com.gemstone.gemfire.cache.client.Pool