Class RedisProperties.Pool
java.lang.Object
org.springframework.boot.data.redis.autoconfigure.RedisProperties.Pool
- Enclosing class:
RedisProperties
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 Boolean
int
int
int
@Nullable Duration
void
setEnabled
(@Nullable Boolean enabled) void
setMaxActive
(int maxActive) void
setMaxIdle
(int maxIdle) void
setMaxWait
(Duration maxWait) void
setMinIdle
(int minIdle) void
setTimeBetweenEvictionRuns
(@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
-