public abstract class FactoryDefaultsPoolAdapter extends PoolAdapter
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).InetSocketAddress
,
Pool
,
PoolFactory
,
SocketFactory
,
Query
,
PoolAdapter
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEFAULT_KEEP_ALIVE |
protected static String |
DEFAULT_POOL_NAME |
protected static String |
LOCALHOST |
NOT_IMPLEMENTED
Constructor and Description |
---|
FactoryDefaultsPoolAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
int |
getFreeConnectionTimeout() |
long |
getIdleTimeout() |
int |
getLoadConditioningInterval() |
List<InetSocketAddress> |
getLocators() |
int |
getMaxConnections() |
int |
getMinConnections() |
boolean |
getMultiuserAuthentication() |
String |
getName() |
List<InetSocketAddress> |
getOnlineLocators() |
long |
getPingInterval() |
boolean |
getPRSingleHopEnabled() |
org.apache.geode.cache.query.QueryService |
getQueryService() |
int |
getReadTimeout() |
int |
getRetryAttempts() |
int |
getServerConnectionTimeout() |
String |
getServerGroup() |
List<InetSocketAddress> |
getServers() |
int |
getSocketBufferSize() |
int |
getSocketConnectTimeout() |
org.apache.geode.cache.client.SocketFactory |
getSocketFactory() |
int |
getStatisticInterval() |
int |
getSubscriptionAckInterval() |
boolean |
getSubscriptionEnabled() |
int |
getSubscriptionMessageTrackingTimeout() |
int |
getSubscriptionRedundancy() |
int |
getSubscriptionTimeoutMultiplier() |
boolean |
getThreadLocalConnections() |
destroy, getPendingEventCount, isDestroyed, releaseThreadLocalConnection
protected static final boolean DEFAULT_KEEP_ALIVE
protected static final String DEFAULT_POOL_NAME
protected static final String LOCALHOST
public int getFreeConnectionTimeout()
getFreeConnectionTimeout
in interface org.apache.geode.cache.client.Pool
getFreeConnectionTimeout
in class PoolAdapter
public long getIdleTimeout()
getIdleTimeout
in interface org.apache.geode.cache.client.Pool
getIdleTimeout
in class PoolAdapter
public int getLoadConditioningInterval()
getLoadConditioningInterval
in interface org.apache.geode.cache.client.Pool
getLoadConditioningInterval
in class PoolAdapter
public List<InetSocketAddress> getLocators()
getLocators
in interface org.apache.geode.cache.client.Pool
getLocators
in class PoolAdapter
public int getMaxConnections()
getMaxConnections
in interface org.apache.geode.cache.client.Pool
getMaxConnections
in class PoolAdapter
public int getMinConnections()
getMinConnections
in interface org.apache.geode.cache.client.Pool
getMinConnections
in class PoolAdapter
public boolean getMultiuserAuthentication()
getMultiuserAuthentication
in interface org.apache.geode.cache.client.Pool
getMultiuserAuthentication
in class PoolAdapter
public String getName()
getName
in interface org.apache.geode.cache.client.Pool
getName
in class PoolAdapter
public List<InetSocketAddress> getOnlineLocators()
getOnlineLocators
in interface org.apache.geode.cache.client.Pool
getOnlineLocators
in class PoolAdapter
public long getPingInterval()
getPingInterval
in interface org.apache.geode.cache.client.Pool
getPingInterval
in class PoolAdapter
public boolean getPRSingleHopEnabled()
getPRSingleHopEnabled
in interface org.apache.geode.cache.client.Pool
getPRSingleHopEnabled
in class PoolAdapter
public org.apache.geode.cache.query.QueryService getQueryService()
getQueryService
in interface org.apache.geode.cache.client.Pool
getQueryService
in class PoolAdapter
public int getReadTimeout()
getReadTimeout
in interface org.apache.geode.cache.client.Pool
getReadTimeout
in class PoolAdapter
public int getRetryAttempts()
getRetryAttempts
in interface org.apache.geode.cache.client.Pool
getRetryAttempts
in class PoolAdapter
public int getServerConnectionTimeout()
getServerConnectionTimeout
in interface org.apache.geode.cache.client.Pool
getServerConnectionTimeout
in class PoolAdapter
public String getServerGroup()
getServerGroup
in interface org.apache.geode.cache.client.Pool
getServerGroup
in class PoolAdapter
public List<InetSocketAddress> getServers()
getServers
in interface org.apache.geode.cache.client.Pool
getServers
in class PoolAdapter
public int getSocketBufferSize()
getSocketBufferSize
in interface org.apache.geode.cache.client.Pool
getSocketBufferSize
in class PoolAdapter
public int getSocketConnectTimeout()
getSocketConnectTimeout
in interface org.apache.geode.cache.client.Pool
getSocketConnectTimeout
in class PoolAdapter
public org.apache.geode.cache.client.SocketFactory getSocketFactory()
getSocketFactory
in interface org.apache.geode.cache.client.Pool
getSocketFactory
in class PoolAdapter
public int getStatisticInterval()
getStatisticInterval
in interface org.apache.geode.cache.client.Pool
getStatisticInterval
in class PoolAdapter
public int getSubscriptionAckInterval()
getSubscriptionAckInterval
in interface org.apache.geode.cache.client.Pool
getSubscriptionAckInterval
in class PoolAdapter
public boolean getSubscriptionEnabled()
getSubscriptionEnabled
in interface org.apache.geode.cache.client.Pool
getSubscriptionEnabled
in class PoolAdapter
public int getSubscriptionMessageTrackingTimeout()
getSubscriptionMessageTrackingTimeout
in interface org.apache.geode.cache.client.Pool
getSubscriptionMessageTrackingTimeout
in class PoolAdapter
public int getSubscriptionRedundancy()
getSubscriptionRedundancy
in interface org.apache.geode.cache.client.Pool
getSubscriptionRedundancy
in class PoolAdapter
public int getSubscriptionTimeoutMultiplier()
getSubscriptionTimeoutMultiplier
in interface org.apache.geode.cache.client.Pool
getSubscriptionTimeoutMultiplier
in class PoolAdapter
public boolean getThreadLocalConnections()
getThreadLocalConnections
in interface org.apache.geode.cache.client.Pool
getThreadLocalConnections
in class PoolAdapter
public void destroy()
destroy
in interface org.apache.geode.cache.client.Pool
destroy
in class PoolAdapter
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.