public interface ClusterCommands
String readonly()
String readwrite()
String clusterNodes()
String clusterAddSlots(int... slots)
String clusterDelSlots(int... slots)
String clusterInfo()
List<byte[]> clusterGetKeysInSlotBinary(int slot, int count)
String clusterSetSlotStable(int slot)
String clusterFlushSlots()
Long clusterCountKeysInSlot(int slot)
String clusterSaveConfig()
@Deprecated List<String> clusterSlaves(String nodeId)
clusterReplicas(java.lang.String)
.CLUSTER SLAVES
command is deprecated since Redis 5.default String clusterFailover()
String clusterFailover(ClusterFailoverOption failoverOption)
@Deprecated String clusterReset(ClusterReset resetType)
clusterReset(redis.clients.jedis.args.ClusterResetType)
.String clusterReset(ClusterResetType resetType)
resetType
can be null for default behavior.resetType
- String clusterMyId()
Copyright © 2021. All rights reserved.