public interface ClusterCommands
Modifier and Type | Method and Description |
---|---|
String |
clusterAddSlots(int... slots) |
Long |
clusterCountKeysInSlot(int slot) |
String |
clusterDelSlots(int... slots) |
String |
clusterFailover() |
String |
clusterFlushSlots() |
String |
clusterForget(String nodeId) |
List<String> |
clusterGetKeysInSlot(int slot,
int count) |
String |
clusterInfo() |
Long |
clusterKeySlot(String key) |
String |
clusterMeet(String ip,
int port) |
String |
clusterNodes() |
String |
clusterReplicate(String nodeId) |
String |
clusterReset(ClusterReset resetType) |
String |
clusterSaveConfig() |
String |
clusterSetSlotImporting(int slot,
String nodeId) |
String |
clusterSetSlotMigrating(int slot,
String nodeId) |
String |
clusterSetSlotNode(int slot,
String nodeId) |
String |
clusterSetSlotStable(int slot) |
List<String> |
clusterSlaves(String nodeId) |
List<Object> |
clusterSlots() |
String |
readonly() |
String clusterNodes()
String clusterAddSlots(int... slots)
String clusterDelSlots(int... slots)
String clusterInfo()
String clusterSetSlotStable(int slot)
String clusterFlushSlots()
Long clusterCountKeysInSlot(int slot)
String clusterSaveConfig()
String clusterFailover()
String clusterReset(ClusterReset resetType)
String readonly()
Copyright © 2018. All rights reserved.