Class RedisConfig

java.lang.Object
org.apache.commons.pool2.BaseObject
org.apache.commons.pool2.impl.BaseObjectPoolConfig<redis.clients.jedis.Jedis>
org.apache.commons.pool2.impl.GenericObjectPoolConfig<redis.clients.jedis.Jedis>
redis.clients.jedis.JedisPoolConfig
org.mybatis.caches.redis.RedisConfig
All Implemented Interfaces:
Cloneable

public class RedisConfig extends redis.clients.jedis.JedisPoolConfig
  • Field Summary

    Fields inherited from class org.apache.commons.pool2.impl.GenericObjectPoolConfig

    DEFAULT_MAX_IDLE, DEFAULT_MAX_TOTAL, DEFAULT_MIN_IDLE

    Fields inherited from class org.apache.commons.pool2.impl.BaseObjectPoolConfig

    DEFAULT_BLOCK_WHEN_EXHAUSTED, DEFAULT_DURATION_BETWEEN_EVICTION_RUNS, DEFAULT_EVICTION_POLICY_CLASS_NAME, DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT, DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT_MILLIS, DEFAULT_FAIRNESS, DEFAULT_JMX_ENABLE, DEFAULT_JMX_NAME_BASE, DEFAULT_JMX_NAME_PREFIX, DEFAULT_LIFO, DEFAULT_MAX_WAIT, DEFAULT_MAX_WAIT_MILLIS, DEFAULT_MIN_EVICTABLE_IDLE_DURATION, DEFAULT_MIN_EVICTABLE_IDLE_TIME, DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS, DEFAULT_NUM_TESTS_PER_EVICTION_RUN, DEFAULT_SOFT_MIN_EVICTABLE_IDLE_DURATION, DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME, DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS, DEFAULT_TEST_ON_BORROW, DEFAULT_TEST_ON_CREATE, DEFAULT_TEST_ON_RETURN, DEFAULT_TEST_WHILE_IDLE, DEFAULT_TIME_BETWEEN_EVICTION_RUNS, DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    int
     
     
     
     
    int
     
     
    int
     
     
     
    boolean
     
    void
    setClientName(String clientName)
     
    void
    setConnectionTimeout(int connectionTimeout)
     
    void
    setDatabase(int database)
     
    void
     
    void
     
    void
    setPassword(String password)
     
    void
    setPort(int port)
     
    void
     
    void
    setSoTimeout(int soTimeout)
     
    void
    setSsl(boolean ssl)
     
    void
     
    void
     

    Methods inherited from class org.apache.commons.pool2.impl.GenericObjectPoolConfig

    clone, getMaxIdle, getMaxTotal, getMinIdle, setMaxIdle, setMaxTotal, setMinIdle, toStringAppendFields

    Methods inherited from class org.apache.commons.pool2.impl.BaseObjectPoolConfig

    getBlockWhenExhausted, getDurationBetweenEvictionRuns, getEvictionPolicy, getEvictionPolicyClassName, getEvictorShutdownTimeout, getEvictorShutdownTimeoutDuration, getEvictorShutdownTimeoutMillis, getFairness, getJmxEnabled, getJmxNameBase, getJmxNamePrefix, getLifo, getMaxWaitDuration, getMaxWaitMillis, getMinEvictableIdleDuration, getMinEvictableIdleTime, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getSoftMinEvictableIdleDuration, getSoftMinEvictableIdleTime, getSoftMinEvictableIdleTimeMillis, getTestOnBorrow, getTestOnCreate, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRuns, getTimeBetweenEvictionRunsMillis, setBlockWhenExhausted, setEvictionPolicy, setEvictionPolicyClassName, setEvictorShutdownTimeout, setEvictorShutdownTimeoutMillis, setEvictorShutdownTimeoutMillis, setFairness, setJmxEnabled, setJmxNameBase, setJmxNamePrefix, setLifo, setMaxWait, setMaxWaitMillis, setMinEvictableIdleDuration, setMinEvictableIdleTime, setMinEvictableIdleTimeMillis, setNumTestsPerEvictionRun, setSoftMinEvictableIdleDuration, setSoftMinEvictableIdleTime, setSoftMinEvictableIdleTimeMillis, setTestOnBorrow, setTestOnCreate, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRuns, setTimeBetweenEvictionRunsMillis

    Methods inherited from class org.apache.commons.pool2.BaseObject

    toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RedisConfig

      public RedisConfig()
  • Method Details

    • isSsl

      public boolean isSsl()
    • setSsl

      public void setSsl(boolean ssl)
    • getSslSocketFactory

      public SSLSocketFactory getSslSocketFactory()
    • setSslSocketFactory

      public void setSslSocketFactory(SSLSocketFactory sslSocketFactory)
    • getSslParameters

      public SSLParameters getSslParameters()
    • setSslParameters

      public void setSslParameters(SSLParameters sslParameters)
    • getHostnameVerifier

      public HostnameVerifier getHostnameVerifier()
    • setHostnameVerifier

      public void setHostnameVerifier(HostnameVerifier hostnameVerifier)
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
    • getPort

      public int getPort()
    • setPort

      public void setPort(int port)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getDatabase

      public int getDatabase()
    • setDatabase

      public void setDatabase(int database)
    • getClientName

      public String getClientName()
    • setClientName

      public void setClientName(String clientName)
    • getConnectionTimeout

      public int getConnectionTimeout()
    • setConnectionTimeout

      public void setConnectionTimeout(int connectionTimeout)
    • getSoTimeout

      public int getSoTimeout()
    • setSoTimeout

      public void setSoTimeout(int soTimeout)
    • getSerializer

      public Serializer getSerializer()
    • setSerializer

      public void setSerializer(Serializer serializer)