Interface ClusterCommands

  • All Known Implementing Classes:
    Jedis

    public interface ClusterCommands
    • Method Detail

      • clusterNodes

        String clusterNodes()
      • 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)
      • clusterFlushSlots

        String clusterFlushSlots()
      • clusterKeySlot

        Long clusterKeySlot​(String key)
      • clusterCountKeysInSlot

        Long clusterCountKeysInSlot​(int slot)
      • clusterSaveConfig

        String clusterSaveConfig()
      • clusterReplicate

        String clusterReplicate​(String nodeId)
      • clusterFailover

        String clusterFailover()