- java.lang.Object
-
- org.apache.commons.pool2.impl.BaseObjectPoolConfig
-
- org.apache.commons.pool2.impl.GenericObjectPoolConfig
-
- redis.clients.jedis.JedisPoolConfig
-
- org.mybatis.caches.redis.RedisConfig
-
-
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_EVICTION_POLICY_CLASS_NAME, DEFAULT_FAIRNESS, DEFAULT_JMX_ENABLE, DEFAULT_JMX_NAME_BASE, DEFAULT_JMX_NAME_PREFIX, DEFAULT_LIFO, DEFAULT_MAX_WAIT_MILLIS, DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS, DEFAULT_NUM_TESTS_PER_EVICTION_RUN, 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_MILLIS
-
Method Summary
-
Methods inherited from class org.apache.commons.pool2.impl.GenericObjectPoolConfig
clone, getMaxIdle, getMaxTotal, getMinIdle, setMaxIdle, setMaxTotal, setMinIdle
-
Methods inherited from class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getBlockWhenExhausted, getEvictionPolicyClassName, getFairness, getJmxEnabled, getJmxNameBase, getJmxNamePrefix, getLifo, getMaxWaitMillis, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getSoftMinEvictableIdleTimeMillis, getTestOnBorrow, getTestOnCreate, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, setBlockWhenExhausted, setEvictionPolicyClassName, setFairness, setJmxEnabled, setJmxNameBase, setJmxNamePrefix, setLifo, setMaxWaitMillis, setMinEvictableIdleTimeMillis, setNumTestsPerEvictionRun, setSoftMinEvictableIdleTimeMillis, setTestOnBorrow, setTestOnCreate, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis
-
-
Constructor Detail
-
RedisConfig
public RedisConfig()
-
Method Detail
-
getHost
public String getHost()
-
getPort
public int getPort()
-
getDatabase
public int getDatabase()
Copyright © 2010–2015 MyBatis.org. All rights reserved.