Uses of Interface
org.springframework.data.redis.core.RedisCallback
Packages that use RedisCallback
-
Uses of RedisCallback in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core with parameters of type RedisCallbackModifier and TypeMethodDescription<T> TRedisKeyValueAdapter.execute(RedisCallback<T> callback) ExecuteRedisCallbackvia underlyingRedisOperations.<T> TRedisOperations.execute(RedisCallback<T> action) Executes the given action within a Redis connection.<T> TRedisTemplate.execute(RedisCallback<T> action) <T> TRedisTemplate.execute(RedisCallback<T> action, boolean exposeConnection) Executes the given action object within a connection, which can be exposed or not.<T> TRedisTemplate.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 newRedisConnectionto 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.