Interface JedisClientConfiguration.JedisPoolingClientConfigurationBuilder
- All Known Implementing Classes:
JedisClientConfiguration.DefaultJedisClientConfigurationBuilder
- Enclosing interface:
- JedisClientConfiguration
public static interface JedisClientConfiguration.JedisPoolingClientConfigurationBuilder
Builder for Pooling-related
JedisClientConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionand()
build()
Build theJedisClientConfiguration
with the configuration applied from this builder.poolConfig
(org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
-
Method Details
-
poolConfig
JedisClientConfiguration.JedisPoolingClientConfigurationBuilder poolConfig(org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) - Parameters:
poolConfig
- must not be null.- Returns:
- this builder.
- Throws:
IllegalArgumentException
- if poolConfig is null.
-
and
-
build
JedisClientConfiguration build()Build theJedisClientConfiguration
with the configuration applied from this builder.- Returns:
- a new
JedisClientConfiguration
object.
-