Class RedisPoolConfigurationProperties
- java.lang.Object
-
- org.hawaiiframework.cache.redis.config.RedisPoolConfigurationProperties
-
public class RedisPoolConfigurationProperties extends Object
Configuration properties for an Apache Commons Generic Pool used by the redis configuration.- Author:
- Richard Kohlen
-
-
Constructor Summary
Constructors Constructor Description RedisPoolConfigurationProperties()
-
Method Summary
-
-
-
Method Detail
-
getBlockWhenExhausted
public Boolean getBlockWhenExhausted()
-
setBlockWhenExhausted
public void setBlockWhenExhausted(Boolean blockWhenExhausted)
-
getMaxTotal
public Integer getMaxTotal()
-
setMaxTotal
public void setMaxTotal(Integer maxTotal)
-
getMaxIdle
public Integer getMaxIdle()
-
setMaxIdle
public void setMaxIdle(Integer maxIdle)
-
getMinIdle
public Integer getMinIdle()
-
setMinIdle
public void setMinIdle(Integer minIdle)
-
getMaxWaitMillis
public Long getMaxWaitMillis()
-
setMaxWaitMillis
public void setMaxWaitMillis(Long maxWaitMillis)
-
getTestOnBorrow
public Boolean getTestOnBorrow()
-
setTestOnBorrow
public void setTestOnBorrow(Boolean testOnBorrow)
-
getTestOnReturn
public Boolean getTestOnReturn()
-
setTestOnReturn
public void setTestOnReturn(Boolean testOnReturn)
-
getTestWhenIdle
public Boolean getTestWhenIdle()
-
setTestWhenIdle
public void setTestWhenIdle(Boolean testWhenIdle)
-
getTimeBetweenEvictionRunsMillis
public Long getTimeBetweenEvictionRunsMillis()
-
setTimeBetweenEvictionRunsMillis
public void setTimeBetweenEvictionRunsMillis(Long timeBetweenEvictionRunsMillis)
-
getNumTestsPerEvictionRun
public Integer getNumTestsPerEvictionRun()
-
setNumTestsPerEvictionRun
public void setNumTestsPerEvictionRun(Integer numTestsPerEvictionRun)
-
getMinEvictableIdleTimeMillis
public Long getMinEvictableIdleTimeMillis()
-
setMinEvictableIdleTimeMillis
public void setMinEvictableIdleTimeMillis(Long minEvictableIdleTimeMillis)
-
applyTo
public void applyTo(org.apache.commons.pool2.impl.GenericObjectPoolConfig genericConfig)
Apply the configuration to a pool configuration.- Parameters:
genericConfig
- the configuration to register with the settings from this instance.
-
-