Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with
the various Redis 'drivers'/libraries.
|
org.springframework.data.redis.connection.jedis |
Connection package for Jedis library.
|
org.springframework.data.redis.connection.lettuce |
Connection package for Lettuce Redis client.
|
Modifier and Type | Method and Description |
---|---|
RedisSentinelConfiguration |
RedisSentinelConfiguration.master(NamedNode master) |
RedisSentinelConfiguration |
RedisSentinelConfiguration.master(String master) |
RedisSentinelConfiguration |
RedisSentinelConfiguration.sentinel(RedisNode sentinel) |
RedisSentinelConfiguration |
RedisSentinelConfiguration.sentinel(String host,
Integer port) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRedisConnection.setSentinelConfiguration(RedisSentinelConfiguration sentinelConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected redis.clients.util.Pool<redis.clients.jedis.Jedis> |
JedisConnectionFactory.createRedisSentinelPool(RedisSentinelConfiguration config)
Creates
JedisSentinelPool . |
Constructor and Description |
---|
JedisConnectionFactory(RedisSentinelConfiguration sentinelConfig)
Constructs a new
JedisConnectionFactory instance using the given JedisPoolConfig applied to
JedisSentinelPool . |
JedisConnectionFactory(RedisSentinelConfiguration sentinelConfig,
redis.clients.jedis.JedisPoolConfig poolConfig)
Constructs a new
JedisConnectionFactory instance using the given JedisPoolConfig applied to
JedisSentinelPool . |
Modifier and Type | Method and Description |
---|---|
static com.lambdaworks.redis.RedisURI |
LettuceConverters.sentinelConfigurationToRedisURI(RedisSentinelConfiguration sentinelConfiguration) |
Constructor and Description |
---|
DefaultLettucePool(RedisSentinelConfiguration sentinelConfiguration)
Uses the
RedisSentinelConfiguration and RedisClient defaults for configuring the connection pool
based on sentinels. |
LettuceConnectionFactory(RedisSentinelConfiguration sentinelConfiguration)
Constructs a new
LettuceConnectionFactory instance using the given RedisSentinelConfiguration |
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.