Uses of Interface
org.springframework.data.redis.connection.RedisConnection
Packages that use RedisConnection
Package
Description
Package providing a Redis implementation for Spring
cache
abstraction.
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.
Core package for integrating Redis with Spring concepts.
Lua script execution abstraction.
-
Uses of RedisConnection in org.springframework.data.redis.cache
Methods in org.springframework.data.redis.cache with parameters of type RedisConnectionModifier and TypeMethodDescriptionlong
BatchStrategy.cleanCache
(RedisConnection connection, String name, byte[] pattern) Remove all keys following the given pattern. -
Uses of RedisConnection in org.springframework.data.redis.connection
Subinterfaces of RedisConnection in org.springframework.data.redis.connectionModifier and TypeInterfaceDescriptioninterface
RedisClusterConnection
allows sending commands to dedicated nodes within the cluster.interface
Convenience extension ofRedisConnection
that accepts and returnsString
s instead of byte arrays.Classes in org.springframework.data.redis.connection that implement RedisConnectionMethods in org.springframework.data.redis.connection that return RedisConnectionModifier and TypeMethodDescriptionRedisConnectionFactory.getConnection()
Returns a suitableconnection
for interacting with Redis.DecoratedRedisConnection.getDelegate()
Gets the underlyingRedisConnection
.DefaultStringRedisConnection.getDelegate()
Constructors in org.springframework.data.redis.connection with parameters of type RedisConnectionModifierConstructorDescriptionDefaultStringRedisConnection
(RedisConnection connection) Constructs a newDefaultStringRedisConnection
instance.DefaultStringRedisConnection
(RedisConnection connection, RedisSerializer<String> serializer) Constructs a newDefaultStringRedisConnection
instance. -
Uses of RedisConnection in org.springframework.data.redis.connection.jedis
Classes in org.springframework.data.redis.connection.jedis that implement RedisConnectionModifier and TypeClassDescriptionclass
RedisClusterConnection
implementation on top ofJedisCluster
.
Uses the nativeJedisCluster
api where possible and falls back to direct node communication usingJedis
where needed.class
RedisConnection
implementation on top of Jedis library.Methods in org.springframework.data.redis.connection.jedis that return RedisConnection -
Uses of RedisConnection in org.springframework.data.redis.connection.lettuce
Classes in org.springframework.data.redis.connection.lettuce that implement RedisConnectionModifier and TypeClassDescriptionclass
RedisClusterConnection
implementation on top of Lettuce Redis client.class
RedisConnection
implementation on top of Lettuce Redis client.Methods in org.springframework.data.redis.connection.lettuce that return RedisConnection -
Uses of RedisConnection in org.springframework.data.redis.core
Subinterfaces of RedisConnection in org.springframework.data.redis.coreModifier and TypeInterfaceDescriptionstatic interface
Subinterface ofRedisConnection
to be implemented byRedisConnection
proxies.Methods in org.springframework.data.redis.core that return RedisConnectionModifier and TypeMethodDescriptionstatic RedisConnection
RedisConnectionUtils.bindConnection
(RedisConnectionFactory factory) Obtain aRedisConnection
from the givenRedisConnectionFactory
and binds the connection to the current thread to be used in closure-scope, if none is already bound.static RedisConnection
RedisConnectionUtils.bindConnection
(RedisConnectionFactory factory, boolean transactionSupport) Obtain aRedisConnection
from the givenRedisConnectionFactory
and binds the connection to the current thread to be used in closure-scope, if none is already bound.protected RedisConnection
RedisTemplate.createRedisConnectionProxy
(RedisConnection connection) static RedisConnection
RedisConnectionUtils.doGetConnection
(RedisConnectionFactory factory, boolean allowCreate, boolean bind, boolean transactionSupport) Actually obtain aRedisConnection
from the givenRedisConnectionFactory
.static RedisConnection
RedisConnectionUtils.getConnection
(RedisConnectionFactory factory) Obtain aRedisConnection
from the givenRedisConnectionFactory
.static RedisConnection
RedisConnectionUtils.getConnection
(RedisConnectionFactory factory, boolean transactionSupport) Obtain aRedisConnection
from the givenRedisConnectionFactory
.RedisConnectionUtils.RedisConnectionProxy.getTargetConnection()
Return the targetRedisConnection
of this proxy.protected RedisConnection
RedisTemplate.preProcessConnection
(RedisConnection connection, boolean existingConnection) Processes the connection (before any settings are executed on it).protected RedisConnection
StringRedisTemplate.preProcessConnection
(RedisConnection connection, boolean existingConnection) Methods in org.springframework.data.redis.core with parameters of type RedisConnectionModifier and TypeMethodDescriptionprotected RedisConnection
RedisTemplate.createRedisConnectionProxy
(RedisConnection connection) RedisCallback.doInRedis
(RedisConnection connection) Method called byRedisTemplate
with an activeRedisConnection
.static boolean
RedisConnectionUtils.isConnectionTransactional
(RedisConnection connection, RedisConnectionFactory connectionFactory) Return whether the given Redis connection is transactional, that is, bound to the current thread by Spring's transaction facilities.protected <T> T
RedisTemplate.postProcessResult
(T result, RedisConnection conn, boolean existingConnection) protected RedisConnection
RedisTemplate.preProcessConnection
(RedisConnection connection, boolean existingConnection) Processes the connection (before any settings are executed on it).protected RedisConnection
StringRedisTemplate.preProcessConnection
(RedisConnection connection, boolean existingConnection) static void
RedisConnectionUtils.releaseConnection
(RedisConnection conn, RedisConnectionFactory factory) Closes the givenRedisConnection
, created via the given factory if not managed externally (i.e. not bound to the transaction). -
Uses of RedisConnection in org.springframework.data.redis.core.script
Methods in org.springframework.data.redis.core.script with parameters of type RedisConnectionModifier and TypeMethodDescriptionprotected <T> T
DefaultScriptExecutor.eval
(RedisConnection connection, RedisScript<T> script, ReturnType returnType, int numKeys, byte[][] keysAndArgs, RedisSerializer<T> resultSerializer)