Interface RedisClusterCallback<T>
- Type Parameters:
T
-
public interface RedisClusterCallback<T>
Callback interface for low level operations executed against a clustered Redis environment.
- Since:
- 1.7
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptiondoInRedis
(RedisClusterConnection connection) Gets called byClusterOperations
with an active Redis connection.
-
Method Details
-
doInRedis
Gets called byClusterOperations
with an active Redis connection. Does not need to care about activating or closing the connection or handling exceptions.- Parameters:
connection
- never null.- Returns:
- Throws:
DataAccessException
-