API
- API type.CMD
- Command command interface type to invoke multi-node operations.public interface NodeSelectionSupport<API,CMD>
Modifier and Type | Method and Description |
---|---|
Map<RedisClusterNode,API> |
asMap() |
CMD |
commands() |
API |
commands(int index)
Obtain the connection/commands to a particular node.
|
RedisClusterNode |
node(int index)
Get the
RedisClusterNode . |
int |
size() |
int size()
CMD commands()
API commands(int index)
index
- index of the node.RedisClusterNode node(int index)
RedisClusterNode
.index
- index of the cluster node.Map<RedisClusterNode,API> asMap()
RedisClusterNode
and the connection/commands objects.Copyright © 2021 lettuce.io. All rights reserved.