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