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 | Class and Description |
---|---|
class |
RedisClusterNode
Representation of a Redis server within the cluster.
|
class |
RedisServer |
Modifier and Type | Method and Description |
---|---|
RedisNode |
RedisNode.RedisNodeBuilder.build()
Get the
RedisNode . |
Modifier and Type | Method and Description |
---|---|
Set<RedisNode> |
RedisClusterConfiguration.getClusterNodes()
Returns an
Collections.unmodifiableSet(Set) of cluster nodes. |
Set<RedisNode> |
RedisSentinelConfiguration.getSentinels()
Returns an
Collections.unmodifiableSet(Set) of Sentinels. |
Modifier and Type | Method and Description |
---|---|
void |
RedisClusterConfiguration.addClusterNode(RedisNode node)
Add a cluster node to configuration.
|
void |
RedisSentinelConfiguration.addSentinel(RedisNode sentinel)
Add sentinel.
|
RedisClusterConfiguration |
RedisClusterConfiguration.clusterNode(RedisNode node) |
protected RedisSentinelConnection |
AbstractRedisConnection.getSentinelConnection(RedisNode sentinel)
Get
RedisSentinelCommands connected to given node. |
protected boolean |
AbstractRedisConnection.isActive(RedisNode node)
Check if node is active by sending ping.
|
void |
RedisServerCommands.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option) |
void |
DefaultStringRedisConnection.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option) |
void |
RedisServerCommands.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option,
long timeout) |
void |
DefaultStringRedisConnection.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option,
long timeout) |
RedisSentinelConfiguration |
RedisSentinelConfiguration.sentinel(RedisNode sentinel) |
Modifier and Type | Method and Description |
---|---|
void |
RedisClusterConfiguration.setClusterNodes(Iterable<RedisNode> nodes)
Set cluster nodes to connect to.
|
void |
RedisSentinelConfiguration.setSentinels(Iterable<RedisNode> sentinels)
Set Sentinels to connect to.
|
Modifier and Type | Method and Description |
---|---|
protected redis.clients.jedis.Jedis |
JedisConnection.getJedis(RedisNode node) |
protected JedisSentinelConnection |
JedisConnection.getSentinelConnection(RedisNode sentinel) |
protected boolean |
JedisConnection.isActive(RedisNode node) |
void |
JedisConnection.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option) |
void |
JedisClusterConnection.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option) |
void |
JedisConnection.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option,
long timeout) |
void |
JedisClusterConnection.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option,
long timeout) |
Constructor and Description |
---|
JedisSentinelConnection(RedisNode sentinel) |
Modifier and Type | Method and Description |
---|---|
<T> reactor.core.publisher.Flux<T> |
LettuceReactiveRedisClusterConnection.execute(RedisNode node,
org.springframework.data.redis.connection.lettuce.LettuceReactiveRedisConnection.LettuceReactiveCallback<T> callback) |
protected com.lambdaworks.redis.api.reactive.RedisReactiveCommands<ByteBuffer,ByteBuffer> |
LettuceReactiveRedisClusterConnection.getCommands(RedisNode node) |
protected RedisSentinelConnection |
LettuceConnection.getSentinelConnection(RedisNode sentinel) |
protected boolean |
LettuceConnection.isActive(RedisNode node) |
void |
LettuceConnection.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option) |
void |
LettuceConnection.migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option,
long timeout) |
Constructor and Description |
---|
LettuceSentinelConnection(RedisNode sentinel)
Creates a
LettuceSentinelConnection with a dedicated client for a supplied RedisNode . |
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.