Uses of Class
org.springframework.data.redis.connection.RedisNode
Packages that use 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
Subclasses of RedisNode in org.springframework.data.redis.connectionModifier and TypeClassDescriptionclass
Representation of a Redis server within the cluster.class
Methods in org.springframework.data.redis.connection that return RedisNodeModifier and TypeMethodDescriptionRedisNode.RedisNodeBuilder.build()
Get theRedisNode
.static RedisNode
RedisNode.fromString
(String hostPortString) Parse ahostAndPort
string intoRedisNode
.Methods in org.springframework.data.redis.connection that return types with arguments of type RedisNodeModifier and TypeMethodDescriptionRedisClusterConfiguration.getClusterNodes()
RedisConfiguration.ClusterConfiguration.getClusterNodes()
Returns anCollections.unmodifiableSet(Set)
of cluster nodes.RedisConfiguration.SentinelConfiguration.getSentinels()
Returns anCollections.unmodifiableSet(Set)
of Sentinels.RedisSentinelConfiguration.getSentinels()
Methods in org.springframework.data.redis.connection with parameters of type RedisNodeModifier 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.Method parameters in org.springframework.data.redis.connection with type arguments of type RedisNodeModifier 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
Methods in org.springframework.data.redis.connection.jedis with parameters of type RedisNodeModifier and TypeMethodDescriptionprotected redis.clients.jedis.Jedis
protected JedisSentinelConnection
JedisConnection.getSentinelConnection
(RedisNode sentinel) protected boolean
Constructors in org.springframework.data.redis.connection.jedis with parameters of type RedisNode -
Uses of RedisNode in org.springframework.data.redis.connection.lettuce
Methods in org.springframework.data.redis.connection.lettuce with parameters of type RedisNodeModifier and TypeMethodDescriptionprotected RedisSentinelConnection
LettuceConnection.getSentinelConnection
(RedisNode sentinel) protected boolean
Constructors in org.springframework.data.redis.connection.lettuce with parameters of type RedisNodeModifierConstructorDescriptionLettuceSentinelConnection
(RedisNode sentinel) Creates aLettuceSentinelConnection
with a dedicated client for a suppliedRedisNode
.
RedisCommandsProvider.serverCommands()
.