Trait

com.avsystem.commons.redis.commands

NodeClusterApi

Related Doc: package commands

Permalink

trait NodeClusterApi extends KeyedClusterApi

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeClusterApi
  2. KeyedClusterApi
  3. ApiSubset
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type HashKey

    Permalink

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    Definition Classes
    ApiSubset
  2. abstract type Key

    Permalink

    The type of Redis keys or key patterns used in methods representing Redis commands.

    The type of Redis keys or key patterns used in methods representing Redis commands. For example, if Key = String then get returns Result[Opt[String]]. This type is used only for toplevel Redis keys, hash keys have their own type, HashKey.

    Definition Classes
    ApiSubset
  3. abstract type Result[A]

    Permalink

    The type constructor into which a result of each command is wrapped.

    The type constructor into which a result of each command is wrapped. For example if Result is Future, then incr returns Future[Long].

    Definition Classes
    ApiSubset
  4. abstract type Value

    Permalink

    The type of Redis values used in methods representing Redis commands.

    The type of Redis values used in methods representing Redis commands. "Value" is the data that might be stored directly under a Redis key (e.g. using set) but also a value of hash field, list element, set member, sorted set member, geo set member or element inserted into hyper-log-log structure. There are no separate types specified for every of those use cases because only one of them can be used in a single command (for example, there is no Redis command that works on both list elements and set members at the same time).

    Definition Classes
    ApiSubset

Abstract Value Members

  1. abstract def execute[A](command: RedisCommand[A]): Result[A]

    Permalink
    Definition Classes
    ApiSubset
  2. implicit abstract def hashKeyCodec: RedisDataCodec[HashKey]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  3. implicit abstract def keyCodec: RedisDataCodec[Key]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  4. implicit abstract def valueCodec: RedisDataCodec[Value]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset

Concrete 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(slots: Iterable[Int]): Result[Unit]

    Permalink

    Executes CLUSTER ADDSLOTS or does nothing when slots is empty.

  7. def clusterAddslots(slot: Int, slots: Int*): Result[Unit]

    Permalink

    Executes CLUSTER ADDSLOTS

  8. def clusterCountFailureReports(nodeId: NodeId): Result[Long]

    Permalink

    Executes CLUSTER COUNT-FAILURE-REPORTS

  9. def clusterCountkeysinslot(slot: Int): Result[Long]

    Permalink

    Executes CLUSTER COUNTKEYSINSLOT

  10. def clusterDelslots(slots: Iterable[Int]): Result[Unit]

    Permalink

    Executes CLUSTER DELSLOTS or does nothing when slots is empty

  11. def clusterDelslots(slot: Int, slots: Int*): Result[Unit]

    Permalink

    Executes CLUSTER DELSLOTS

  12. def clusterFailover(option: commons.OptArg[FailoverOption] = OptArg.Empty): Result[Unit]

    Permalink

    Executes CLUSTER FAILOVER

  13. def clusterFailover: Result[Unit]

    Permalink

    Executes CLUSTER FAILOVER

  14. def clusterFlushslots: Result[Unit]

    Permalink
  15. def clusterForget(nodeId: NodeId): Result[Unit]

    Permalink

    Executes CLUSTER FORGET

  16. def clusterGetkeysinslot(slot: Int, count: Int): Result[Seq[Key]]

    Permalink

    Executes CLUSTER GETKEYSINSLOT

  17. def clusterInfo: Result[ClusterStateInfo]

    Permalink

    Executes CLUSTER INFO

  18. def clusterKeyslot(key: Key): Result[Int]

    Permalink

    Executes CLUSTER KEYSLOT

    Definition Classes
    KeyedClusterApi
  19. def clusterMeet(address: NodeAddress): Result[Unit]

    Permalink

    Executes CLUSTER MEET

  20. def clusterMyid: Result[NodeId]

    Permalink
  21. def clusterNodes: Result[Seq[NodeInfo]]

    Permalink

    Executes CLUSTER NODES

  22. def clusterReplicate(nodeId: NodeId): Result[Unit]

    Permalink

    Executes CLUSTER REPLICATE

  23. def clusterReset(hard: Boolean = false): Result[Unit]

    Permalink

    Executes CLUSTER RESET

  24. def clusterReset: Result[Unit]

    Permalink

    Executes CLUSTER RESET

  25. def clusterSaveconfig: Result[Unit]

    Permalink

    Executes CLUSTER SAVECONFIG

  26. def clusterSetConfigEpoch(configEpoch: Long): Result[Unit]

    Permalink

    Executes CLUSTER SET-CONFIG-EPOCH

  27. def clusterSetslot(slot: Int, subcommand: SetslotCmd): Result[Unit]

    Permalink

    Executes CLUSTER SETSLOT

  28. def clusterSlaves(nodeId: NodeId): Result[Seq[NodeInfo]]

    Permalink

    Executes CLUSTER SLAVES

  29. def clusterSlots: Result[Seq[SlotRangeMapping[NodeAddress]]]

    Permalink

    Executes CLUSTER SLOTS

  30. def clusterSlotsWithNodeIds: Result[Seq[SlotRangeMapping[(NodeAddress, NodeId)]]]

    Permalink

    Executes CLUSTER SLOTS

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. implicit def headOps[T](head: T): HeadOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. implicit def iterableTailOps[T](tail: Iterable[T]): IterableTailOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  39. implicit def iteratorTailOps[T](tail: Iterator[T]): IteratorTailOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  40. def keySlot(key: Key): Int

    Permalink
    Definition Classes
    KeyedClusterApi
  41. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

Inherited from KeyedClusterApi

Inherited from ApiSubset

Inherited from AnyRef

Inherited from Any

Ungrouped