public class RedisCommandsContainerBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static redis.clients.jedis.JedisPoolConfig |
DEFAULT_POOL_CONFIG |
Constructor and Description |
---|
RedisCommandsContainerBuilder() |
Modifier and Type | Method and Description |
---|---|
static RedisCommandsInstanceContainer |
build(JedisClusterConfig config)
Builds container for Redis Cluster environment.
|
static RedisCommandsInstanceContainer |
build(JedisPoolConfig config)
Builds container for single Redis environment.
|
public static final redis.clients.jedis.JedisPoolConfig DEFAULT_POOL_CONFIG
public static RedisCommandsInstanceContainer build(JedisPoolConfig config)
config
- configuration for JedisPoolpublic static RedisCommandsInstanceContainer build(JedisClusterConfig config)
config
- configuration for JedisClusterCopyright © 2023 The Apache Software Foundation. All rights reserved.