public interface ClusterNodeResourceProvider
ClusterNodeResourceProvider
provides access to low level client api to directly execute operations against a
Redis instance.Modifier and Type | Method and Description |
---|---|
<S> S |
getResourceForSpecificNode(RedisClusterNode node)
Get the client resource for the given node.
|
void |
returnResourceForSpecificNode(RedisClusterNode node,
Object resource)
Return the resource object for the given node.
|
<S> S getResourceForSpecificNode(RedisClusterNode node)
node
- must not be null.DataAccessResourceFailureException
- if node is not known to the cluster.void returnResourceForSpecificNode(RedisClusterNode node, Object resource)
node
- must not be null.resource
- must not be null.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.