Trait

scredis.commands

ClusterCommands

Related Doc: package commands

Permalink

trait ClusterCommands extends AnyRef

Implements cluster commands.

Self Type
ClusterCommands with ClusterConnection
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterCommands
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def clusterAddSlots(slot: Long, slots: Long*): Future[Unit]

    Permalink

    Assign new hash slots to receiving node

    Assign new hash slots to receiving node

    slot

    a slot

    slots

    more slots

    Since

    3.0.0

  7. def clusterCountFailureReports(nodeId: String): Future[Long]

    Permalink

    Return the number of failure reports active for a given node.

    Return the number of failure reports active for a given node.

    nodeId

    node to get failures for

    returns

    the number of active failure reports for the node

    Since

    3.0.0

  8. def clusterCountKeysInSlot(slot: Long): Future[Long]

    Permalink

    Return the number of local keys in the specified hash slot.

    Return the number of local keys in the specified hash slot.

    slot

    slot to count keys in

    returns

    the number of local keys in the specified hash slot

    Since

    3.0.0

  9. def clusterDelSlots(slot: Long, slots: Long*): Future[Unit]

    Permalink

    Set hash slots as unbound in receiving node.

    Set hash slots as unbound in receiving node.

    slot

    a slot

    slots

    more slots

    Since

    3.0.0

  10. def clusterFailover(): Future[Unit]

    Permalink

    Forces a slave to perform a manual failover of its master.

  11. def clusterFailoverForce(): Future[Unit]

    Permalink

    Forces a slave to perform a manual failover of its master.

    Forces a slave to perform a manual failover of its master.

    FORCE option: manual failover when the master is down.

    Since

    3.0.0

  12. def clusterFailoverTakeover(): Future[Unit]

    Permalink

    Forces a slave to perform a manual failover of its master.

    Forces a slave to perform a manual failover of its master.

    TAKEOVER option: manual failover without cluster consensus. TAKEOVER option implies everything FORCE implies, but also does not uses any cluster authorization in order to failover.

    Since

    3.0.0

  13. def clusterForget(nodeId: String): Future[Unit]

    Permalink

    Remove a node from the nodes table.

    Remove a node from the nodes table.

    nodeId

    node to remove

    Since

    3.0.0

  14. def clusterGetKeysInSlot(slot: Long, count: Long): Future[Set[String]]

    Permalink

    Return local key names in the specified hash slot.

    Return local key names in the specified hash slot.

    slot

    slot to get key names from

    count

    number of keys to return

    returns

    local key names in the specified hash slot

    Since

    3.0.0

  15. def clusterInfo(): Future[Map[String, String]]

    Permalink

    Provides info about Redis Cluster node state.

    Provides info about Redis Cluster node state.

    returns

    Key-value mapping of Redis Cluster vital parameters.

    Since

    3.0.0

  16. def clusterKeyslot(key: String): Future[Long]

    Permalink

    Returns the hash slot of the specified key.

    Returns the hash slot of the specified key.

    Since

    3.0.0

  17. def clusterMeet(ip: String, port: Long): Future[Unit]

    Permalink

    Force a node cluster to handshake with another node.

    Force a node cluster to handshake with another node.

    ip

    ip address of

    Since

    3.0.0

  18. def clusterNodes(): Future[Seq[ClusterNode]]

    Permalink

    Get Cluster config for the node.

    Get Cluster config for the node.

    Since

    3.0.0

  19. def clusterReplicate(nodeId: String): Future[Unit]

    Permalink

    Reconfigure a node as a slave of the specified master node.

    Reconfigure a node as a slave of the specified master node.

    nodeId

    master node to replicate

    Since

    3.0.0

  20. def clusterReset(): Future[Unit]

    Permalink

    Reset a Redis Cluster node.

    Reset a Redis Cluster node.

    Since

    3.0.0

  21. def clusterResetHard(): Future[Unit]

    Permalink

    Reset a Redis Cluster node with HARD option.

    Reset a Redis Cluster node with HARD option.

    Since

    3.0.0

  22. def clusterSaveConfig(): Future[Unit]

    Permalink

    Forces the node to save cluster state on disk.

    Forces the node to save cluster state on disk.

    Since

    3.0.0

  23. def clusterSetConfigEpoch(configEpoch: Long): Future[Unit]

    Permalink

    Set the configuration epoch in a new node.

    Set the configuration epoch in a new node.

    configEpoch

    the config epoch to set

    Since

    3.0.0

  24. def clusterSetSlotImporting(slot: Long, sourceNode: String): Future[Unit]

    Permalink

    Set a hash slot in importing state.

    Set a hash slot in importing state.

    slot

    slot to import

    sourceNode

    node to import from

    Since

    3.0.0

  25. def clusterSetSlotMigrating(slot: Long, destinationNode: String): Future[Unit]

    Permalink

    Set a hash slot in migrating state.

    Set a hash slot in migrating state.

    slot

    slot to migrate

    destinationNode

    node to migrate to

    Since

    3.0.0

  26. def clusterSetSlotNode(slot: Long, nodeId: String): Future[Unit]

    Permalink

    Bind the hash slot to a different node.

    Bind the hash slot to a different node.

    slot

    slot to associate with node

    nodeId

    node to be associated with slot

    Since

    3.0.0

  27. def clusterSetSlotStable(slot: Long): Future[Unit]

    Permalink

    Clear any importing / migrating state from hash slot.

    Clear any importing / migrating state from hash slot.

    slot

    slot to clear of migrating/importing state

    Since

    3.0.0

  28. def clusterSlaves(nodeId: String): Future[Seq[ClusterNode]]

    Permalink

    List slave nodes of the specified master node.

    List slave nodes of the specified master node.

    nodeId

    node to list slave nodes of

    returns

    slave nodes of the given master

    Since

    3.0.0

  29. def clusterSlots(): Future[List[ClusterSlotRange]]

    Permalink

    Get array of Cluster slot to node mappings.

    Get array of Cluster slot to node mappings.

    returns

    List of cluster slot ranges, with respective master and slave nodes.

    Since

    3.0.0

  30. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  32. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  34. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  36. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped