Spring Data for VMware GemFire
Class PoolAdapter
java.lang.Object
org.springframework.data.gemfire.client.PoolAdapter
- All Implemented Interfaces:
org.apache.geode.cache.client.Pool
- Direct Known Subclasses:
FactoryDefaultsPoolAdapter
The
PoolAdapter class is an abstract base class and default, no-op implementation of
the Pool interface that conveniently enables implementing classes to extend this adapter
and choose which Pool methods/operations are supported by this implementation.
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 no actual connections or operating state information (e.g. pendingEventCount) is needed.- Since:
- 1.8.0
- See Also:
-
PoolFactoryBeanPool
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NOT_IMPLEMENTED
- See Also:
-
-
Constructor Details
-
PoolAdapter
public PoolAdapter()
-
-
Method Details
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceorg.apache.geode.cache.client.Pool
-
getFreeConnectionTimeout
public int getFreeConnectionTimeout()- Specified by:
getFreeConnectionTimeoutin interfaceorg.apache.geode.cache.client.Pool
-
getIdleTimeout
public long getIdleTimeout()- Specified by:
getIdleTimeoutin interfaceorg.apache.geode.cache.client.Pool
-
getLoadConditioningInterval
public int getLoadConditioningInterval()- Specified by:
getLoadConditioningIntervalin interfaceorg.apache.geode.cache.client.Pool
-
getLocators
- Specified by:
getLocatorsin interfaceorg.apache.geode.cache.client.Pool
-
getMaxConnections
public int getMaxConnections()- Specified by:
getMaxConnectionsin interfaceorg.apache.geode.cache.client.Pool
-
getMinConnections
public int getMinConnections()- Specified by:
getMinConnectionsin interfaceorg.apache.geode.cache.client.Pool
-
getMultiuserAuthentication
public boolean getMultiuserAuthentication()- Specified by:
getMultiuserAuthenticationin interfaceorg.apache.geode.cache.client.Pool
-
getName
- Specified by:
getNamein interfaceorg.apache.geode.cache.client.Pool
-
getOnlineLocators
- Specified by:
getOnlineLocatorsin interfaceorg.apache.geode.cache.client.Pool
-
getPendingEventCount
public int getPendingEventCount()- Specified by:
getPendingEventCountin interfaceorg.apache.geode.cache.client.Pool
-
getPingInterval
public long getPingInterval()- Specified by:
getPingIntervalin interfaceorg.apache.geode.cache.client.Pool
-
getPRSingleHopEnabled
public boolean getPRSingleHopEnabled()- Specified by:
getPRSingleHopEnabledin interfaceorg.apache.geode.cache.client.Pool
-
getQueryService
public org.apache.geode.cache.query.QueryService getQueryService()- Specified by:
getQueryServicein interfaceorg.apache.geode.cache.client.Pool
-
getReadTimeout
public int getReadTimeout()- Specified by:
getReadTimeoutin interfaceorg.apache.geode.cache.client.Pool
-
getRetryAttempts
public int getRetryAttempts()- Specified by:
getRetryAttemptsin interfaceorg.apache.geode.cache.client.Pool
-
getServerConnectionTimeout
public int getServerConnectionTimeout()- Specified by:
getServerConnectionTimeoutin interfaceorg.apache.geode.cache.client.Pool
-
getServerGroup
- Specified by:
getServerGroupin interfaceorg.apache.geode.cache.client.Pool
-
getServers
- Specified by:
getServersin interfaceorg.apache.geode.cache.client.Pool
-
getSocketBufferSize
public int getSocketBufferSize()- Specified by:
getSocketBufferSizein interfaceorg.apache.geode.cache.client.Pool
-
getSocketConnectTimeout
public int getSocketConnectTimeout()- Specified by:
getSocketConnectTimeoutin interfaceorg.apache.geode.cache.client.Pool
-
getSocketFactory
public org.apache.geode.cache.client.SocketFactory getSocketFactory()- Specified by:
getSocketFactoryin interfaceorg.apache.geode.cache.client.Pool
-
getStatisticInterval
public int getStatisticInterval()- Specified by:
getStatisticIntervalin interfaceorg.apache.geode.cache.client.Pool
-
getSubscriptionAckInterval
public int getSubscriptionAckInterval()- Specified by:
getSubscriptionAckIntervalin interfaceorg.apache.geode.cache.client.Pool
-
getSubscriptionEnabled
public boolean getSubscriptionEnabled()- Specified by:
getSubscriptionEnabledin interfaceorg.apache.geode.cache.client.Pool
-
getSubscriptionMessageTrackingTimeout
public int getSubscriptionMessageTrackingTimeout()- Specified by:
getSubscriptionMessageTrackingTimeoutin interfaceorg.apache.geode.cache.client.Pool
-
getSubscriptionRedundancy
public int getSubscriptionRedundancy()- Specified by:
getSubscriptionRedundancyin interfaceorg.apache.geode.cache.client.Pool
-
getSubscriptionTimeoutMultiplier
public int getSubscriptionTimeoutMultiplier()- Specified by:
getSubscriptionTimeoutMultiplierin interfaceorg.apache.geode.cache.client.Pool
-
getThreadLocalConnections
public boolean getThreadLocalConnections() -
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.geode.cache.client.Pool
-
destroy
public void destroy(boolean keepAlive) - Specified by:
destroyin interfaceorg.apache.geode.cache.client.Pool
-
releaseThreadLocalConnection
public void releaseThreadLocalConnection()
-