public abstract class DelegatingPoolAdapter extends FactoryDefaultsPoolAdapter
DelegatingPoolAdapter is an abstract implementation of Pivotal GemFire's 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.Pool,
QueryService,
FactoryDefaultsPoolAdapterDEFAULT_KEEP_ALIVE, DEFAULT_POOL_NAME, LOCALHOSTNOT_IMPLEMENTED| Constructor and Description |
|---|
DelegatingPoolAdapter(org.apache.geode.cache.client.Pool delegate)
Constructs an instance of
DelegatingPoolAdapter initialized with the specified Pool. |
public DelegatingPoolAdapter(org.apache.geode.cache.client.Pool delegate)
DelegatingPoolAdapter initialized with the specified Pool.delegate - Pool used as the delegate; can be null.Poolpublic static DelegatingPoolAdapter from(org.apache.geode.cache.client.Pool delegate)
protected org.apache.geode.cache.client.Pool getDelegate()
public boolean isDestroyed()
isDestroyed in interface org.apache.geode.cache.client.PoolisDestroyed in class PoolAdapterpublic int getFreeConnectionTimeout()
getFreeConnectionTimeout in interface org.apache.geode.cache.client.PoolgetFreeConnectionTimeout in class FactoryDefaultsPoolAdapterpublic long getIdleTimeout()
getIdleTimeout in interface org.apache.geode.cache.client.PoolgetIdleTimeout in class FactoryDefaultsPoolAdapterpublic int getLoadConditioningInterval()
getLoadConditioningInterval in interface org.apache.geode.cache.client.PoolgetLoadConditioningInterval in class FactoryDefaultsPoolAdapterpublic List<InetSocketAddress> getLocators()
getLocators in interface org.apache.geode.cache.client.PoolgetLocators in class FactoryDefaultsPoolAdapterpublic int getMaxConnections()
getMaxConnections in interface org.apache.geode.cache.client.PoolgetMaxConnections in class FactoryDefaultsPoolAdapterpublic int getMinConnections()
getMinConnections in interface org.apache.geode.cache.client.PoolgetMinConnections in class FactoryDefaultsPoolAdapterpublic boolean getMultiuserAuthentication()
getMultiuserAuthentication in interface org.apache.geode.cache.client.PoolgetMultiuserAuthentication in class FactoryDefaultsPoolAdapterpublic String getName()
getName in interface org.apache.geode.cache.client.PoolgetName in class FactoryDefaultsPoolAdapterpublic List<InetSocketAddress> getOnlineLocators()
getOnlineLocators in interface org.apache.geode.cache.client.PoolgetOnlineLocators in class FactoryDefaultsPoolAdapterpublic int getPendingEventCount()
getPendingEventCount in interface org.apache.geode.cache.client.PoolgetPendingEventCount in class PoolAdapterpublic long getPingInterval()
getPingInterval in interface org.apache.geode.cache.client.PoolgetPingInterval in class FactoryDefaultsPoolAdapterpublic boolean getPRSingleHopEnabled()
getPRSingleHopEnabled in interface org.apache.geode.cache.client.PoolgetPRSingleHopEnabled in class FactoryDefaultsPoolAdapterpublic org.apache.geode.cache.query.QueryService getQueryService()
getQueryService in interface org.apache.geode.cache.client.PoolgetQueryService in class FactoryDefaultsPoolAdapterpublic int getReadTimeout()
getReadTimeout in interface org.apache.geode.cache.client.PoolgetReadTimeout in class FactoryDefaultsPoolAdapterpublic int getRetryAttempts()
getRetryAttempts in interface org.apache.geode.cache.client.PoolgetRetryAttempts in class FactoryDefaultsPoolAdapterpublic String getServerGroup()
getServerGroup in interface org.apache.geode.cache.client.PoolgetServerGroup in class FactoryDefaultsPoolAdapterpublic List<InetSocketAddress> getServers()
getServers in interface org.apache.geode.cache.client.PoolgetServers in class FactoryDefaultsPoolAdapterpublic int getSocketBufferSize()
getSocketBufferSize in interface org.apache.geode.cache.client.PoolgetSocketBufferSize in class FactoryDefaultsPoolAdapterpublic int getSocketConnectTimeout()
getSocketConnectTimeout in interface org.apache.geode.cache.client.PoolgetSocketConnectTimeout in class FactoryDefaultsPoolAdapterpublic int getStatisticInterval()
getStatisticInterval in interface org.apache.geode.cache.client.PoolgetStatisticInterval in class FactoryDefaultsPoolAdapterpublic int getSubscriptionAckInterval()
getSubscriptionAckInterval in interface org.apache.geode.cache.client.PoolgetSubscriptionAckInterval in class FactoryDefaultsPoolAdapterpublic boolean getSubscriptionEnabled()
getSubscriptionEnabled in interface org.apache.geode.cache.client.PoolgetSubscriptionEnabled in class FactoryDefaultsPoolAdapterpublic int getSubscriptionMessageTrackingTimeout()
getSubscriptionMessageTrackingTimeout in interface org.apache.geode.cache.client.PoolgetSubscriptionMessageTrackingTimeout in class FactoryDefaultsPoolAdapterpublic int getSubscriptionRedundancy()
getSubscriptionRedundancy in interface org.apache.geode.cache.client.PoolgetSubscriptionRedundancy in class FactoryDefaultsPoolAdapterpublic int getSubscriptionTimeoutMultiplier()
getSubscriptionTimeoutMultiplier in interface org.apache.geode.cache.client.PoolgetSubscriptionTimeoutMultiplier in class FactoryDefaultsPoolAdapterpublic boolean getThreadLocalConnections()
getThreadLocalConnections in interface org.apache.geode.cache.client.PoolgetThreadLocalConnections in class FactoryDefaultsPoolAdapterpublic void destroy()
destroy in interface org.apache.geode.cache.client.Pooldestroy in class FactoryDefaultsPoolAdapterpublic void destroy(boolean keepAlive)
destroy in interface org.apache.geode.cache.client.Pooldestroy in class PoolAdapterpublic void releaseThreadLocalConnection()
releaseThreadLocalConnection in interface org.apache.geode.cache.client.PoolreleaseThreadLocalConnection in class PoolAdapterCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.