public abstract class DelegatingPoolAdapter extends FactoryDefaultsPoolAdapter
Pool interface and extension of
FactoryDefaultsPoolAdapter that delegates operations to the provided Pool instance.
However, this implementation guards against a potentially null Pool reference by returning
default factory settings for the Pool's configuration properties along with default behavior for operations
when the Pool reference is null.FactoryDefaultsPoolAdapter,
PoolDEFAULT_KEEP_ALIVE, DEFAULT_POOL_NAME, LOCALHOSTNOT_IMPLEMENTED| Constructor and Description |
|---|
DelegatingPoolAdapter(com.gemstone.gemfire.cache.client.Pool delegate) |
public DelegatingPoolAdapter(com.gemstone.gemfire.cache.client.Pool delegate)
public static DelegatingPoolAdapter from(com.gemstone.gemfire.cache.client.Pool delegate)
protected com.gemstone.gemfire.cache.client.Pool getDelegate()
public boolean isDestroyed()
isDestroyed in interface com.gemstone.gemfire.cache.client.PoolisDestroyed in class PoolAdapterpublic int getFreeConnectionTimeout()
getFreeConnectionTimeout in interface com.gemstone.gemfire.cache.client.PoolgetFreeConnectionTimeout in class FactoryDefaultsPoolAdapterpublic long getIdleTimeout()
getIdleTimeout in interface com.gemstone.gemfire.cache.client.PoolgetIdleTimeout in class FactoryDefaultsPoolAdapterpublic int getLoadConditioningInterval()
getLoadConditioningInterval in interface com.gemstone.gemfire.cache.client.PoolgetLoadConditioningInterval in class FactoryDefaultsPoolAdapterpublic List<InetSocketAddress> getLocators()
getLocators in interface com.gemstone.gemfire.cache.client.PoolgetLocators in class FactoryDefaultsPoolAdapterpublic int getMaxConnections()
getMaxConnections in interface com.gemstone.gemfire.cache.client.PoolgetMaxConnections in class FactoryDefaultsPoolAdapterpublic int getMinConnections()
getMinConnections in interface com.gemstone.gemfire.cache.client.PoolgetMinConnections in class FactoryDefaultsPoolAdapterpublic boolean getMultiuserAuthentication()
getMultiuserAuthentication in interface com.gemstone.gemfire.cache.client.PoolgetMultiuserAuthentication in class FactoryDefaultsPoolAdapterpublic String getName()
getName in interface com.gemstone.gemfire.cache.client.PoolgetName in class FactoryDefaultsPoolAdapterpublic boolean getPRSingleHopEnabled()
getPRSingleHopEnabled in interface com.gemstone.gemfire.cache.client.PoolgetPRSingleHopEnabled in class FactoryDefaultsPoolAdapterpublic int getPendingEventCount()
getPendingEventCount in interface com.gemstone.gemfire.cache.client.PoolgetPendingEventCount in class PoolAdapterpublic long getPingInterval()
getPingInterval in interface com.gemstone.gemfire.cache.client.PoolgetPingInterval in class FactoryDefaultsPoolAdapterpublic com.gemstone.gemfire.cache.query.QueryService getQueryService()
getQueryService in interface com.gemstone.gemfire.cache.client.PoolgetQueryService in class FactoryDefaultsPoolAdapterpublic int getReadTimeout()
getReadTimeout in interface com.gemstone.gemfire.cache.client.PoolgetReadTimeout in class FactoryDefaultsPoolAdapterpublic int getRetryAttempts()
getRetryAttempts in interface com.gemstone.gemfire.cache.client.PoolgetRetryAttempts in class FactoryDefaultsPoolAdapterpublic String getServerGroup()
getServerGroup in interface com.gemstone.gemfire.cache.client.PoolgetServerGroup in class FactoryDefaultsPoolAdapterpublic List<InetSocketAddress> getServers()
getServers in interface com.gemstone.gemfire.cache.client.PoolgetServers in class FactoryDefaultsPoolAdapterpublic int getSocketBufferSize()
getSocketBufferSize in interface com.gemstone.gemfire.cache.client.PoolgetSocketBufferSize in class FactoryDefaultsPoolAdapterpublic int getStatisticInterval()
getStatisticInterval in interface com.gemstone.gemfire.cache.client.PoolgetStatisticInterval in class FactoryDefaultsPoolAdapterpublic int getSubscriptionAckInterval()
getSubscriptionAckInterval in interface com.gemstone.gemfire.cache.client.PoolgetSubscriptionAckInterval in class FactoryDefaultsPoolAdapterpublic boolean getSubscriptionEnabled()
getSubscriptionEnabled in interface com.gemstone.gemfire.cache.client.PoolgetSubscriptionEnabled in class FactoryDefaultsPoolAdapterpublic int getSubscriptionMessageTrackingTimeout()
getSubscriptionMessageTrackingTimeout in interface com.gemstone.gemfire.cache.client.PoolgetSubscriptionMessageTrackingTimeout in class FactoryDefaultsPoolAdapterpublic int getSubscriptionRedundancy()
getSubscriptionRedundancy in interface com.gemstone.gemfire.cache.client.PoolgetSubscriptionRedundancy in class FactoryDefaultsPoolAdapterpublic boolean getThreadLocalConnections()
getThreadLocalConnections in interface com.gemstone.gemfire.cache.client.PoolgetThreadLocalConnections in class FactoryDefaultsPoolAdapterpublic void destroy()
destroy in interface com.gemstone.gemfire.cache.client.Pooldestroy in class FactoryDefaultsPoolAdapterpublic void destroy(boolean keepAlive)
destroy in interface com.gemstone.gemfire.cache.client.Pooldestroy in class PoolAdapterpublic void releaseThreadLocalConnection()
releaseThreadLocalConnection in interface com.gemstone.gemfire.cache.client.PoolreleaseThreadLocalConnection in class PoolAdapter