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 Details

    • doInRedis

      @Nullable T doInRedis(RedisClusterConnection connection) throws org.springframework.dao.DataAccessException
      Gets called by ClusterOperations 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:
      org.springframework.dao.DataAccessException