Class DataRedisProperties.Pool
java.lang.Object
org.springframework.boot.data.redis.autoconfigure.DataRedisProperties.Pool
- Enclosing class:
DataRedisProperties
Pool properties.
- Since:
- 4.0.0
- Author:
- Dave Syer, Christoph Strobl, EddĂș MelĂ©ndez, Marco Aust, Mark Paluch, Stephane Nicoll, Scott Frederick, Yanming Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Booleanintintint@Nullable DurationvoidsetEnabled(@Nullable Boolean enabled) voidsetMaxActive(int maxActive) voidsetMaxIdle(int maxIdle) voidsetMaxWait(Duration maxWait) voidsetMinIdle(int minIdle) voidsetTimeBetweenEvictionRuns(@Nullable Duration timeBetweenEvictionRuns)
-
Constructor Details
-
Pool
public Pool()
-
-
Method Details
-
getEnabled
-
setEnabled
-
getMaxIdle
public int getMaxIdle() -
setMaxIdle
public void setMaxIdle(int maxIdle) -
getMinIdle
public int getMinIdle() -
setMinIdle
public void setMinIdle(int minIdle) -
getMaxActive
public int getMaxActive() -
setMaxActive
public void setMaxActive(int maxActive) -
getMaxWait
-
setMaxWait
-
getTimeBetweenEvictionRuns
-
setTimeBetweenEvictionRuns
-