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

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).
Since:
1.8.0
See Also:
  • Field Details

  • Constructor Details

    • FactoryDefaultsPoolAdapter

      public FactoryDefaultsPoolAdapter()
  • Method Details

    • getFreeConnectionTimeout

      public int getFreeConnectionTimeout()
      Specified by:
      getFreeConnectionTimeout in interface org.apache.geode.cache.client.Pool
      Overrides:
      getFreeConnectionTimeout in class PoolAdapter
    • getIdleTimeout

      public long getIdleTimeout()
      Specified by:
      getIdleTimeout in interface org.apache.geode.cache.client.Pool
      Overrides:
      getIdleTimeout in class PoolAdapter
    • getLoadConditioningInterval

      public int getLoadConditioningInterval()
      Specified by:
      getLoadConditioningInterval in interface org.apache.geode.cache.client.Pool
      Overrides:
      getLoadConditioningInterval in class PoolAdapter
    • getLocators

      public List<InetSocketAddress> getLocators()
      Specified by:
      getLocators in interface org.apache.geode.cache.client.Pool
      Overrides:
      getLocators in class PoolAdapter
    • getMaxConnections

      public int getMaxConnections()
      Specified by:
      getMaxConnections in interface org.apache.geode.cache.client.Pool
      Overrides:
      getMaxConnections in class PoolAdapter
    • getMinConnections

      public int getMinConnections()
      Specified by:
      getMinConnections in interface org.apache.geode.cache.client.Pool
      Overrides:
      getMinConnections in class PoolAdapter
    • getMultiuserAuthentication

      public boolean getMultiuserAuthentication()
      Specified by:
      getMultiuserAuthentication in interface org.apache.geode.cache.client.Pool
      Overrides:
      getMultiuserAuthentication in class PoolAdapter
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.geode.cache.client.Pool
      Overrides:
      getName in class PoolAdapter
    • getOnlineLocators

      public List<InetSocketAddress> getOnlineLocators()
      Specified by:
      getOnlineLocators in interface org.apache.geode.cache.client.Pool
      Overrides:
      getOnlineLocators in class PoolAdapter
    • getPingInterval

      public long getPingInterval()
      Specified by:
      getPingInterval in interface org.apache.geode.cache.client.Pool
      Overrides:
      getPingInterval in class PoolAdapter
    • getPRSingleHopEnabled

      public boolean getPRSingleHopEnabled()
      Specified by:
      getPRSingleHopEnabled in interface org.apache.geode.cache.client.Pool
      Overrides:
      getPRSingleHopEnabled in class PoolAdapter
    • getQueryService

      public org.apache.geode.cache.query.QueryService getQueryService()
      Specified by:
      getQueryService in interface org.apache.geode.cache.client.Pool
      Overrides:
      getQueryService in class PoolAdapter
    • getReadTimeout

      public int getReadTimeout()
      Specified by:
      getReadTimeout in interface org.apache.geode.cache.client.Pool
      Overrides:
      getReadTimeout in class PoolAdapter
    • getRetryAttempts

      public int getRetryAttempts()
      Specified by:
      getRetryAttempts in interface org.apache.geode.cache.client.Pool
      Overrides:
      getRetryAttempts in class PoolAdapter
    • getServerConnectionTimeout

      public int getServerConnectionTimeout()
      Specified by:
      getServerConnectionTimeout in interface org.apache.geode.cache.client.Pool
      Overrides:
      getServerConnectionTimeout in class PoolAdapter
    • getServerGroup

      public String getServerGroup()
      Specified by:
      getServerGroup in interface org.apache.geode.cache.client.Pool
      Overrides:
      getServerGroup in class PoolAdapter
    • getServers

      public List<InetSocketAddress> getServers()
      Specified by:
      getServers in interface org.apache.geode.cache.client.Pool
      Overrides:
      getServers in class PoolAdapter
    • getSocketBufferSize

      public int getSocketBufferSize()
      Specified by:
      getSocketBufferSize in interface org.apache.geode.cache.client.Pool
      Overrides:
      getSocketBufferSize in class PoolAdapter
    • getSocketConnectTimeout

      public int getSocketConnectTimeout()
      Specified by:
      getSocketConnectTimeout in interface org.apache.geode.cache.client.Pool
      Overrides:
      getSocketConnectTimeout in class PoolAdapter
    • getSocketFactory

      public org.apache.geode.cache.client.SocketFactory getSocketFactory()
      Specified by:
      getSocketFactory in interface org.apache.geode.cache.client.Pool
      Overrides:
      getSocketFactory in class PoolAdapter
    • getStatisticInterval

      public int getStatisticInterval()
      Specified by:
      getStatisticInterval in interface org.apache.geode.cache.client.Pool
      Overrides:
      getStatisticInterval in class PoolAdapter
    • getSubscriptionAckInterval

      public int getSubscriptionAckInterval()
      Specified by:
      getSubscriptionAckInterval in interface org.apache.geode.cache.client.Pool
      Overrides:
      getSubscriptionAckInterval in class PoolAdapter
    • getSubscriptionEnabled

      public boolean getSubscriptionEnabled()
      Specified by:
      getSubscriptionEnabled in interface org.apache.geode.cache.client.Pool
      Overrides:
      getSubscriptionEnabled in class PoolAdapter
    • getSubscriptionMessageTrackingTimeout

      public int getSubscriptionMessageTrackingTimeout()
      Specified by:
      getSubscriptionMessageTrackingTimeout in interface org.apache.geode.cache.client.Pool
      Overrides:
      getSubscriptionMessageTrackingTimeout in class PoolAdapter
    • getSubscriptionRedundancy

      public int getSubscriptionRedundancy()
      Specified by:
      getSubscriptionRedundancy in interface org.apache.geode.cache.client.Pool
      Overrides:
      getSubscriptionRedundancy in class PoolAdapter
    • getSubscriptionTimeoutMultiplier

      public int getSubscriptionTimeoutMultiplier()
      Specified by:
      getSubscriptionTimeoutMultiplier in interface org.apache.geode.cache.client.Pool
      Overrides:
      getSubscriptionTimeoutMultiplier in class PoolAdapter
    • getThreadLocalConnections

      public boolean getThreadLocalConnections()
      Specified by:
      getThreadLocalConnections in interface org.apache.geode.cache.client.Pool
      Overrides:
      getThreadLocalConnections in class PoolAdapter
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.apache.geode.cache.client.Pool
      Overrides:
      destroy in class PoolAdapter