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() |
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.Pool
public int getFreeConnectionTimeout()
getFreeConnectionTimeout
in interface org.apache.geode.cache.client.Pool
public long getIdleTimeout()
getIdleTimeout
in interface org.apache.geode.cache.client.Pool
public int getLoadConditioningInterval()
getLoadConditioningInterval
in interface org.apache.geode.cache.client.Pool
public List<InetSocketAddress> getLocators()
getLocators
in interface org.apache.geode.cache.client.Pool
public int getMaxConnections()
getMaxConnections
in interface org.apache.geode.cache.client.Pool
public int getMinConnections()
getMinConnections
in interface org.apache.geode.cache.client.Pool
public boolean getMultiuserAuthentication()
getMultiuserAuthentication
in interface org.apache.geode.cache.client.Pool
public String getName()
getName
in interface org.apache.geode.cache.client.Pool
public boolean getPRSingleHopEnabled()
getPRSingleHopEnabled
in interface org.apache.geode.cache.client.Pool
public int getPendingEventCount()
getPendingEventCount
in interface org.apache.geode.cache.client.Pool
public long getPingInterval()
getPingInterval
in interface org.apache.geode.cache.client.Pool
public org.apache.geode.cache.query.QueryService getQueryService()
getQueryService
in interface org.apache.geode.cache.client.Pool
public int getReadTimeout()
getReadTimeout
in interface org.apache.geode.cache.client.Pool
public int getRetryAttempts()
getRetryAttempts
in interface org.apache.geode.cache.client.Pool
public String getServerGroup()
getServerGroup
in interface org.apache.geode.cache.client.Pool
public List<InetSocketAddress> getServers()
getServers
in interface org.apache.geode.cache.client.Pool
public int getSocketBufferSize()
getSocketBufferSize
in interface org.apache.geode.cache.client.Pool
public int getStatisticInterval()
getStatisticInterval
in interface org.apache.geode.cache.client.Pool
public int getSubscriptionAckInterval()
getSubscriptionAckInterval
in interface org.apache.geode.cache.client.Pool
public boolean getSubscriptionEnabled()
getSubscriptionEnabled
in interface org.apache.geode.cache.client.Pool
public int getSubscriptionMessageTrackingTimeout()
getSubscriptionMessageTrackingTimeout
in interface org.apache.geode.cache.client.Pool
public int getSubscriptionRedundancy()
getSubscriptionRedundancy
in interface org.apache.geode.cache.client.Pool
public boolean getThreadLocalConnections()
getThreadLocalConnections
in interface org.apache.geode.cache.client.Pool
public void destroy()
destroy
in interface org.apache.geode.cache.client.Pool
public void destroy(boolean keepAlive)
destroy
in interface org.apache.geode.cache.client.Pool
public void releaseThreadLocalConnection()
releaseThreadLocalConnection
in interface org.apache.geode.cache.client.Pool
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.