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 TypeMethodDescriptionlongBatchStrategy.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 TypeInterfaceDescriptioninterfaceRedisClusterConnectionallows sending commands to dedicated nodes within the cluster.interfaceConvenience extension ofRedisConnectionthat accepts and returnsStrings 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 suitableconnectionfor 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 newDefaultStringRedisConnectioninstance.DefaultStringRedisConnection(RedisConnection connection, RedisSerializer<String> serializer) Constructs a newDefaultStringRedisConnectioninstance. -
Uses of RedisConnection in org.springframework.data.redis.connection.jedis
Classes in org.springframework.data.redis.connection.jedis that implement RedisConnectionModifier and TypeClassDescriptionclassRedisClusterConnectionimplementation on top ofJedisCluster.
Uses the nativeJedisClusterapi where possible and falls back to direct node communication usingJediswhere needed.classRedisConnectionimplementation 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 TypeClassDescriptionclassRedisClusterConnectionimplementation on top of Lettuce Redis client.classRedisConnectionimplementation 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 interfaceSubinterface ofRedisConnectionto be implemented byRedisConnectionproxies.Methods in org.springframework.data.redis.core that return RedisConnectionModifier and TypeMethodDescriptionstatic RedisConnectionRedisConnectionUtils.bindConnection(RedisConnectionFactory factory) Obtain aRedisConnectionfrom the givenRedisConnectionFactoryand binds the connection to the current thread to be used in closure-scope, if none is already bound.static RedisConnectionRedisConnectionUtils.bindConnection(RedisConnectionFactory factory, boolean transactionSupport) Obtain aRedisConnectionfrom the givenRedisConnectionFactoryand binds the connection to the current thread to be used in closure-scope, if none is already bound.protected RedisConnectionRedisTemplate.createRedisConnectionProxy(RedisConnection connection) static RedisConnectionRedisConnectionUtils.doGetConnection(RedisConnectionFactory factory, boolean allowCreate, boolean bind, boolean transactionSupport) Actually obtain aRedisConnectionfrom the givenRedisConnectionFactory.static RedisConnectionRedisConnectionUtils.getConnection(RedisConnectionFactory factory) Obtain aRedisConnectionfrom the givenRedisConnectionFactory.static RedisConnectionRedisConnectionUtils.getConnection(RedisConnectionFactory factory, boolean transactionSupport) Obtain aRedisConnectionfrom the givenRedisConnectionFactory.RedisConnectionUtils.RedisConnectionProxy.getTargetConnection()Return the targetRedisConnectionof this proxy.protected RedisConnectionRedisTemplate.preProcessConnection(RedisConnection connection, boolean existingConnection) Processes the connection (before any settings are executed on it).protected RedisConnectionStringRedisTemplate.preProcessConnection(RedisConnection connection, boolean existingConnection) Methods in org.springframework.data.redis.core with parameters of type RedisConnectionModifier and TypeMethodDescriptionprotected RedisConnectionRedisTemplate.createRedisConnectionProxy(RedisConnection connection) RedisCallback.doInRedis(RedisConnection connection) Method called byRedisTemplatewith an activeRedisConnection.static booleanRedisConnectionUtils.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> TRedisTemplate.postProcessResult(T result, RedisConnection conn, boolean existingConnection) protected RedisConnectionRedisTemplate.preProcessConnection(RedisConnection connection, boolean existingConnection) Processes the connection (before any settings are executed on it).protected RedisConnectionStringRedisTemplate.preProcessConnection(RedisConnection connection, boolean existingConnection) static voidRedisConnectionUtils.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> TDefaultScriptExecutor.eval(RedisConnection connection, RedisScript<T> script, ReturnType returnType, int numKeys, byte[][] keysAndArgs, RedisSerializer<T> resultSerializer)