Uses of Class
org.springframework.data.redis.connection.RedisNode
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Connection package for Jedis library.
Connection package for Lettuce Redis client.
-
Uses of RedisNode in org.springframework.data.redis.connection
Modifier and TypeClassDescriptionclass
Representation of a Redis server within the cluster.class
Modifier and TypeMethodDescriptionRedisNode.RedisNodeBuilder.build()
Get theRedisNode
.static RedisNode
RedisNode.fromString
(String hostPortString) Parse ahostAndPort
string intoRedisNode
.Modifier and TypeMethodDescriptionRedisClusterConfiguration.getClusterNodes()
RedisConfiguration.ClusterConfiguration.getClusterNodes()
Returns anCollections.unmodifiableSet(Set)
of cluster nodes.RedisConfiguration.SentinelConfiguration.getSentinels()
Returns anCollections.unmodifiableSet(Set)
of Sentinels.RedisSentinelConfiguration.getSentinels()
Modifier and TypeMethodDescriptionvoid
RedisClusterConfiguration.addClusterNode
(RedisNode node) Add a cluster node to configuration.void
RedisSentinelConfiguration.addSentinel
(RedisNode sentinel) Add sentinel.RedisClusterConfiguration.clusterNode
(RedisNode node) protected RedisSentinelConnection
AbstractRedisConnection.getSentinelConnection
(RedisNode sentinel) GetRedisSentinelCommands
connected to given node.protected boolean
Check if node is active by sending ping.default void
DefaultedRedisConnection.migrate
(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option) Deprecated.default void
DefaultedRedisConnection.migrate
(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option, long timeout) Deprecated.in favor ofRedisCommandsProvider.serverCommands()
.void
DefaultStringRedisConnection.migrate
(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option) void
DefaultStringRedisConnection.migrate
(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option, long timeout) void
RedisServerCommands.migrate
(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option) Atomically transfer a key from a source Redis instance to a destination Redis instance.void
RedisServerCommands.migrate
(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option, long timeout) Atomically transfer a key from a source Redis instance to a destination Redis instance.Modifier and TypeMethodDescriptionvoid
RedisClusterConfiguration.setClusterNodes
(Iterable<RedisNode> nodes) Set cluster nodes to connect to.void
RedisSentinelConfiguration.setSentinels
(Iterable<RedisNode> sentinels) Set Sentinels to connect to. -
Uses of RedisNode in org.springframework.data.redis.connection.jedis
Modifier and TypeMethodDescriptionprotected redis.clients.jedis.Jedis
protected JedisSentinelConnection
JedisConnection.getSentinelConnection
(RedisNode sentinel) protected boolean
-
Uses of RedisNode in org.springframework.data.redis.connection.lettuce
Modifier and TypeMethodDescriptionprotected RedisSentinelConnection
LettuceConnection.getSentinelConnection
(RedisNode sentinel) protected boolean
ModifierConstructorDescriptionLettuceSentinelConnection
(RedisNode sentinel) Creates aLettuceSentinelConnection
with a dedicated client for a suppliedRedisNode
.
RedisCommandsProvider.serverCommands()
.