public interface ClusterCommands
String asking()
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 clusterKeySlot(String key)
long clusterCountKeysInSlot(int slot)
String clusterSaveConfig()
@Deprecated List<String> clusterSlaves(String nodeId)
clusterReplicas(java.lang.String)
.CLUSTER SLAVES
command is deprecated since Redis 5.String clusterFailover()
String clusterFailover(ClusterFailoverOption failoverOption)
String clusterReset()
String clusterReset(ClusterResetType resetType)
resetType
can be null for default behavior.resetType
- String clusterMyId()
Copyright © 2021. All rights reserved.