T - public interface RedisClusterCallback<T>
| Modifier and Type | Method and Description |
|---|---|
T |
doInRedis(RedisClusterConnection connection)
Gets called by
RedisClusterTemplate with an active Redis connection. |
@Nullable T doInRedis(RedisClusterConnection connection) throws DataAccessException
RedisClusterTemplate with an active Redis connection. Does not need to care about activating
or closing the connection or handling exceptions.connection - never null.DataAccessExceptionCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.