Package | Description |
---|---|
com.lambdaworks.redis.cluster.models.partitions |
Modifier and Type | Method and Description |
---|---|
RedisClusterNode |
Partitions.getPartition(int index) |
RedisClusterNode |
Partitions.getPartitionByNodeId(String nodeId)
Retrieve a
RedisClusterNode by its node id. |
RedisClusterNode |
Partitions.getPartitionBySlot(int slot)
Retrieve a
RedisClusterNode by its slot number. |
Modifier and Type | Method and Description |
---|---|
List<RedisClusterNode> |
Partitions.getPartitions() |
Iterator<RedisClusterNode> |
Partitions.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
Partitions.addPartition(RedisClusterNode partition) |
Modifier and Type | Method and Description |
---|---|
void |
Partitions.reload(List<RedisClusterNode> partitions)
Update partitions and rebuild slot cache.
|
Copyright © 2015. All rights reserved.