Package redis.clients.jedis.commands
Interface ClusterCommands
-
- All Known Implementing Classes:
Jedis
public interface ClusterCommands
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringclusterAddSlots(int... slots)LongclusterCountKeysInSlot(int slot)StringclusterDelSlots(int... slots)StringclusterFailover()StringclusterFlushSlots()StringclusterForget(String nodeId)List<String>clusterGetKeysInSlot(int slot, int count)StringclusterInfo()LongclusterKeySlot(String key)StringclusterMeet(String ip, int port)StringclusterNodes()StringclusterReplicate(String nodeId)StringclusterReset(ClusterReset resetType)StringclusterSaveConfig()StringclusterSetSlotImporting(int slot, String nodeId)StringclusterSetSlotMigrating(int slot, String nodeId)StringclusterSetSlotNode(int slot, String nodeId)StringclusterSetSlotStable(int slot)List<String>clusterSlaves(String nodeId)List<Object>clusterSlots()Stringreadonly()
-
-
-
Method Detail
-
clusterNodes
String clusterNodes()
-
clusterAddSlots
String clusterAddSlots(int... slots)
-
clusterDelSlots
String clusterDelSlots(int... slots)
-
clusterInfo
String clusterInfo()
-
clusterSetSlotStable
String clusterSetSlotStable(int slot)
-
clusterFlushSlots
String clusterFlushSlots()
-
clusterCountKeysInSlot
Long clusterCountKeysInSlot(int slot)
-
clusterSaveConfig
String clusterSaveConfig()
-
clusterFailover
String clusterFailover()
-
clusterReset
String clusterReset(ClusterReset resetType)
-
readonly
String readonly()
-
-