Package | Description |
---|---|
org.springframework.data.redis.core |
Core package for integrating Redis with Spring concepts.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
RedisKeyValueAdapter.execute(RedisCallback<T> callback)
Execute
RedisCallback via underlying RedisOperations . |
<T> T |
RedisTemplate.execute(RedisCallback<T> action) |
<T> T |
RedisOperations.execute(RedisCallback<T> action)
Executes the given action within a Redis connection.
|
<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.
|
List<Object> |
RedisTemplate.executePipelined(RedisCallback<?> action) |
List<Object> |
RedisOperations.executePipelined(RedisCallback<?> action)
Executes the given action object on a pipelined connection, returning the results.
|
List<Object> |
RedisTemplate.executePipelined(RedisCallback<?> action,
RedisSerializer<?> resultSerializer) |
List<Object> |
RedisOperations.executePipelined(RedisCallback<?> action,
RedisSerializer<?> resultSerializer)
Executes the given action object on a pipelined connection, returning the results using a dedicated serializer.
|
<T extends Closeable> |
RedisTemplate.executeWithStickyConnection(RedisCallback<T> callback) |
<T extends Closeable> |
RedisOperations.executeWithStickyConnection(RedisCallback<T> callback)
Allocates and binds a new
RedisConnection to the actual return type of the method. |
<T> List<T> |
RedisKeyValueTemplate.find(RedisCallback<?> callback,
Class<T> type)
Retrieve entities by resolving their ids and converting them into required type.
|
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.