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