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 |
---|---|
static RedisServer |
RedisServer.newServerFrom(Properties properties)
Creates a new
RedisServer from the given properties. |
Modifier and Type | Method and Description |
---|---|
Collection<RedisServer> |
RedisSentinelCommands.masters()
Get a
Collection of monitored masters and their state. |
Collection<RedisServer> |
RedisSentinelCommands.slaves(NamedNode master)
Show list of slaves for given master.
|
Modifier and Type | Method and Description |
---|---|
void |
RedisSentinelCommands.monitor(RedisServer master)
Tell sentinel to start monitoring a new master with the specified
RedisNode.getName() ,
RedisNode.getHost() , RedisNode.getPort() , and getQuorum() . |
Modifier and Type | Method and Description |
---|---|
List<RedisServer> |
JedisSentinelConnection.masters() |
List<RedisServer> |
JedisSentinelConnection.slaves(NamedNode master) |
List<RedisServer> |
JedisSentinelConnection.slaves(String masterName) |
static List<RedisServer> |
JedisConverters.toListOfRedisServer(List<Map<String,String>> source) |
Modifier and Type | Method and Description |
---|---|
void |
JedisSentinelConnection.monitor(RedisServer server) |
Modifier and Type | Method and Description |
---|---|
List<RedisServer> |
LettuceSentinelConnection.masters() |
List<RedisServer> |
LettuceSentinelConnection.slaves(NamedNode master) |
List<RedisServer> |
LettuceSentinelConnection.slaves(String masterName) |
static List<RedisServer> |
LettuceConverters.toListOfRedisServer(List<Map<String,String>> source) |
Modifier and Type | Method and Description |
---|---|
void |
LettuceSentinelConnection.monitor(RedisServer server) |
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.