Class FactoryDefaultsPoolAdapter
java.lang.Object
org.springframework.data.gemfire.client.PoolAdapter
org.springframework.data.gemfire.client.support.FactoryDefaultsPoolAdapter
- All Implemented Interfaces:
org.apache.geode.cache.client.Pool
- Direct Known Subclasses:
DelegatingPoolAdapter
FactoryDefaultsPoolAdapter
is an abstract implementation of the Pool
interface and extension of
PoolAdapter
that provides default factory values for all configuration properties
(e.g. freeConnectionTimeout, idleTimeout, etc).- Since:
- 1.8.0
- See Also:
-
InetSocketAddress
Pool
PoolFactory
SocketFactory
Query
PoolAdapter
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final boolean
protected static final String
protected static final String
Fields inherited from class org.springframework.data.gemfire.client.PoolAdapter
NOT_IMPLEMENTED
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.data.gemfire.client.PoolAdapter
destroy, getPendingEventCount, getThreadLocalConnections, isDestroyed, releaseThreadLocalConnection
-
Field Details
-
DEFAULT_KEEP_ALIVE
protected static final boolean DEFAULT_KEEP_ALIVE- See Also:
-
DEFAULT_POOL_NAME
- See Also:
-
LOCALHOST
- See Also:
-
-
Constructor Details
-
FactoryDefaultsPoolAdapter
public FactoryDefaultsPoolAdapter()
-
-
Method Details
-
getFreeConnectionTimeout
public int getFreeConnectionTimeout()- Specified by:
getFreeConnectionTimeout
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getFreeConnectionTimeout
in classPoolAdapter
-
getIdleTimeout
public long getIdleTimeout()- Specified by:
getIdleTimeout
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getIdleTimeout
in classPoolAdapter
-
getLoadConditioningInterval
public int getLoadConditioningInterval()- Specified by:
getLoadConditioningInterval
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getLoadConditioningInterval
in classPoolAdapter
-
getLocators
- Specified by:
getLocators
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getLocators
in classPoolAdapter
-
getMaxConnections
public int getMaxConnections()- Specified by:
getMaxConnections
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getMaxConnections
in classPoolAdapter
-
getMinConnections
public int getMinConnections()- Specified by:
getMinConnections
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getMinConnections
in classPoolAdapter
-
getMaxConnectionsPerServer
public int getMaxConnectionsPerServer() -
getMinConnectionsPerServer
public int getMinConnectionsPerServer() -
getMultiuserAuthentication
public boolean getMultiuserAuthentication()- Specified by:
getMultiuserAuthentication
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getMultiuserAuthentication
in classPoolAdapter
-
getName
- Specified by:
getName
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getName
in classPoolAdapter
-
getOnlineLocators
- Specified by:
getOnlineLocators
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getOnlineLocators
in classPoolAdapter
-
getPingInterval
public long getPingInterval()- Specified by:
getPingInterval
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getPingInterval
in classPoolAdapter
-
getPRSingleHopEnabled
public boolean getPRSingleHopEnabled()- Specified by:
getPRSingleHopEnabled
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getPRSingleHopEnabled
in classPoolAdapter
-
getQueryService
public org.apache.geode.cache.query.QueryService getQueryService()- Specified by:
getQueryService
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getQueryService
in classPoolAdapter
-
getReadTimeout
public int getReadTimeout()- Specified by:
getReadTimeout
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getReadTimeout
in classPoolAdapter
-
getRetryAttempts
public int getRetryAttempts()- Specified by:
getRetryAttempts
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getRetryAttempts
in classPoolAdapter
-
getServerConnectionTimeout
public int getServerConnectionTimeout()- Specified by:
getServerConnectionTimeout
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getServerConnectionTimeout
in classPoolAdapter
-
getServerGroup
- Specified by:
getServerGroup
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getServerGroup
in classPoolAdapter
-
getServers
- Specified by:
getServers
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getServers
in classPoolAdapter
-
getSocketBufferSize
public int getSocketBufferSize()- Specified by:
getSocketBufferSize
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getSocketBufferSize
in classPoolAdapter
-
getSocketConnectTimeout
public int getSocketConnectTimeout()- Specified by:
getSocketConnectTimeout
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getSocketConnectTimeout
in classPoolAdapter
-
getSocketFactory
public org.apache.geode.cache.client.SocketFactory getSocketFactory()- Specified by:
getSocketFactory
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getSocketFactory
in classPoolAdapter
-
getStatisticInterval
public int getStatisticInterval()- Specified by:
getStatisticInterval
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getStatisticInterval
in classPoolAdapter
-
getSubscriptionAckInterval
public int getSubscriptionAckInterval()- Specified by:
getSubscriptionAckInterval
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getSubscriptionAckInterval
in classPoolAdapter
-
getSubscriptionEnabled
public boolean getSubscriptionEnabled()- Specified by:
getSubscriptionEnabled
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getSubscriptionEnabled
in classPoolAdapter
-
getSubscriptionMessageTrackingTimeout
public int getSubscriptionMessageTrackingTimeout()- Specified by:
getSubscriptionMessageTrackingTimeout
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getSubscriptionMessageTrackingTimeout
in classPoolAdapter
-
getSubscriptionRedundancy
public int getSubscriptionRedundancy()- Specified by:
getSubscriptionRedundancy
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getSubscriptionRedundancy
in classPoolAdapter
-
getSubscriptionTimeoutMultiplier
public int getSubscriptionTimeoutMultiplier()- Specified by:
getSubscriptionTimeoutMultiplier
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
getSubscriptionTimeoutMultiplier
in classPoolAdapter
-
destroy
public void destroy()- Specified by:
destroy
in interfaceorg.apache.geode.cache.client.Pool
- Overrides:
destroy
in classPoolAdapter
-