redis.clients.jedis
Interface ClusterCommands

All Known Implementing Classes:
Jedis

public interface ClusterCommands


Method Summary
 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(JedisCluster.Reset 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()
           
 

Method Detail

clusterNodes

String clusterNodes()

clusterMeet

String clusterMeet(String ip,
                   int port)

clusterAddSlots

String clusterAddSlots(int... slots)

clusterDelSlots

String clusterDelSlots(int... slots)

clusterInfo

String clusterInfo()

clusterGetKeysInSlot

List<String> clusterGetKeysInSlot(int slot,
                                  int count)

clusterSetSlotNode

String clusterSetSlotNode(int slot,
                          String nodeId)

clusterSetSlotMigrating

String clusterSetSlotMigrating(int slot,
                               String nodeId)

clusterSetSlotImporting

String clusterSetSlotImporting(int slot,
                               String nodeId)

clusterSetSlotStable

String clusterSetSlotStable(int slot)

clusterForget

String clusterForget(String nodeId)

clusterFlushSlots

String clusterFlushSlots()

clusterKeySlot

Long clusterKeySlot(String key)

clusterCountKeysInSlot

Long clusterCountKeysInSlot(int slot)

clusterSaveConfig

String clusterSaveConfig()

clusterReplicate

String clusterReplicate(String nodeId)

clusterSlaves

List<String> clusterSlaves(String nodeId)

clusterFailover

String clusterFailover()

clusterSlots

List<Object> clusterSlots()

clusterReset

String clusterReset(JedisCluster.Reset resetType)


Copyright © 2014. All rights reserved.