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> @Nullable TRedisKeyValueAdapter.execute(RedisCallback<T> callback) ExecuteRedisCallbackvia underlyingRedisOperations.<T extends @Nullable Object>
TRedisOperations.execute(@NonNull RedisCallback<T> action) Executes the given action within a Redis connection.<T extends @Nullable Object>
TRedisTemplate.execute(@NonNull RedisCallback<T> action) <T extends @Nullable Object>
TRedisTemplate.execute(@NonNull RedisCallback<T> action, boolean exposeConnection) Executes the given action object within a connection, which can be exposed or not.<T extends @Nullable Object>
TRedisTemplate.execute(@NonNull RedisCallback<T> action, boolean exposeConnection, boolean pipeline) Executes the given action object within a connection that can be exposed or not.RedisOperations.executePipelined(@NonNull RedisCallback<?> action) Executes the given action object on a pipelined connection, returning the results.RedisOperations.executePipelined(@NonNull RedisCallback<?> action, @NonNull RedisSerializer<?> resultSerializer) Executes the given action object on a pipelined connection, returning the results using a dedicated serializer.RedisTemplate.executePipelined(@NonNull RedisCallback<?> action) RedisTemplate.executePipelined(@NonNull RedisCallback<?> action, @Nullable RedisSerializer<?> resultSerializer) <T extends Closeable>
TRedisOperations.executeWithStickyConnection(@NonNull RedisCallback<T> callback) Allocates and binds a newRedisConnectionto the actual return type of the method.<T extends Closeable>
TRedisTemplate.executeWithStickyConnection(@NonNull 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.