redis.clients.jedis.commands.ClusterCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jredisearch-jedis Show documentation
Show all versions of jredisearch-jedis Show documentation
Jedis is a blazingly small and sane Redis java client. This is a fork of master
The newest version!
package redis.clients.jedis.commands;
import java.util.List;
import redis.clients.jedis.ClusterReset;
public interface ClusterCommands {
String clusterNodes();
String clusterMeet(String ip, int port);
String clusterAddSlots(int... slots);
String clusterDelSlots(int... slots);
String clusterInfo();
List clusterGetKeysInSlot(int slot, int count);
String clusterSetSlotNode(int slot, String nodeId);
String clusterSetSlotMigrating(int slot, String nodeId);
String clusterSetSlotImporting(int slot, String nodeId);
String clusterSetSlotStable(int slot);
String clusterForget(String nodeId);
String clusterFlushSlots();
Long clusterKeySlot(String key);
Long clusterCountKeysInSlot(int slot);
String clusterSaveConfig();
String clusterReplicate(String nodeId);
List clusterSlaves(String nodeId);
String clusterFailover();
List