Uses of Interface
org.springframework.data.redis.core.RedisCallback
-
Uses of RedisCallback in org.springframework.data.redis.core
Modifier and TypeMethodDescription<T> T
RedisKeyValueAdapter.execute
(RedisCallback<T> callback) ExecuteRedisCallback
via underlyingRedisOperations
.<T> T
RedisOperations.execute
(RedisCallback<T> action) Executes the given action within a Redis connection.<T> T
RedisTemplate.execute
(RedisCallback<T> action) <T> T
RedisTemplate.execute
(RedisCallback<T> action, boolean exposeConnection) Executes the given action object within a connection, which can be exposed or not.<T> T
RedisTemplate.execute
(RedisCallback<T> action, boolean exposeConnection, boolean pipeline) Executes the given action object within a connection that can be exposed or not.RedisOperations.executePipelined
(RedisCallback<?> action) Executes the given action object on a pipelined connection, returning the results.RedisOperations.executePipelined
(RedisCallback<?> action, RedisSerializer<?> resultSerializer) Executes the given action object on a pipelined connection, returning the results using a dedicated serializer.RedisTemplate.executePipelined
(RedisCallback<?> action) RedisTemplate.executePipelined
(RedisCallback<?> action, RedisSerializer<?> resultSerializer) <T extends Closeable>
TRedisOperations.executeWithStickyConnection
(RedisCallback<T> callback) Allocates and binds a newRedisConnection
to the actual return type of the method.<T extends Closeable>
TRedisTemplate.executeWithStickyConnection
(RedisCallback<T> callback) <T> List<T>
RedisKeyValueTemplate.find
(RedisCallback<?> callback, Class<T> type) Retrieve entities by resolving their ids and converting them into required type.