Interface ClusterNodeResourceProvider


public interface ClusterNodeResourceProvider
ClusterNodeResourceProvider provides access to low level client api to directly execute operations against a Redis instance.
Since:
1.7
Author:
Christoph Strobl
  • Method Details

    • getResourceForSpecificNode

      <S> S getResourceForSpecificNode(RedisClusterNode node)
      Get the client resource for the given node.
      Parameters:
      node - must not be null.
      Returns:
      never null.
      Throws:
      DataAccessResourceFailureException - if node is not known to the cluster.
    • returnResourceForSpecificNode

      void returnResourceForSpecificNode(RedisClusterNode node, Object resource)
      Return the resource object for the given node. This can mean free up resources or return elements back to a pool.
      Parameters:
      node - must not be null.
      resource - must not be null.