Class

com.redis.cluster

RedisCluster

Related Doc: package cluster

Permalink

abstract class RedisCluster extends RedisCommand

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisCluster
  2. RedisCommand
  3. HyperLogLogOperations
  4. PubOperations
  5. EvalOperations
  6. HashOperations
  7. SortedSetOperations
  8. SetOperations
  9. ListOperations
  10. StringOperations
  11. NodeOperations
  12. GeoOperations
  13. Operations
  14. Redis
  15. Protocol
  16. R
  17. Reply
  18. IO
  19. Log
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisCluster(hosts: ClusterNode*)

    Permalink

Type Members

  1. type FoldReply = PartialFunction[(Char, Array[Byte], Option[GeoRadiusMember]), Option[GeoRadiusMember]]

    Permalink

    The following partial functions intend to manage the response from the GEORADIUS and GEORADIUSBYMEMBER commands.

    The following partial functions intend to manage the response from the GEORADIUS and GEORADIUSBYMEMBER commands. The code is not as generic as the previous ones as the exposed types are quite complex and really specific to these two commands

    Definition Classes
    Reply
  2. type MultiNestedReply = PartialFunction[(Char, Array[Byte]), Option[List[Option[List[Option[Array[Byte]]]]]]]

    Permalink
    Definition Classes
    Reply
  3. type MultiReply = PartialFunction[(Char, Array[Byte]), Option[List[Option[Array[Byte]]]]]

    Permalink
    Definition Classes
    Reply
  4. type PairReply = PartialFunction[(Char, Array[Byte]), Option[(Option[Array[Byte]], Option[List[Option[Array[Byte]]]])]]

    Permalink
    Definition Classes
    Reply
  5. type Reply[T] = PartialFunction[(Char, Array[Byte]), T]

    Permalink
    Definition Classes
    Reply
  6. type SingleReply = PartialFunction[(Char, Array[Byte]), Option[Array[Byte]]]

    Permalink
    Definition Classes
    Reply

Abstract Value Members

  1. abstract val keyTag: Option[KeyTag]

    Permalink

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. val POINTS_PER_SERVER: Int

    Permalink
  5. def addServer(server: ClusterNode): Unit

    Permalink
  6. def append(key: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  7. def asAny: Option[Any]

    Permalink
    Definition Classes
    R
  8. def asBoolean: Boolean

    Permalink
    Definition Classes
    R
  9. def asBulk[T](implicit parse: Parse[T]): Option[T]

    Permalink
    Definition Classes
    R
  10. def asBulkWithTime[T](implicit parse: Parse[T]): Option[T]

    Permalink
    Definition Classes
    R
  11. def asExec(handlers: Seq[() ⇒ Any]): Option[List[Any]]

    Permalink
    Definition Classes
    R
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def asInt: Option[Int]

    Permalink
    Definition Classes
    R
  14. def asList[T](implicit parse: Parse[T]): Option[List[Option[T]]]

    Permalink
    Definition Classes
    R
  15. def asListPairs[A, B](implicit parseA: Parse[A], parseB: Parse[B]): Option[List[Option[(A, B)]]]

    Permalink
    Definition Classes
    R
  16. def asLong: Option[Long]

    Permalink
    Definition Classes
    R
  17. def asPair[T](implicit parse: Parse[T]): Option[(Option[Int], Option[List[Option[T]]])]

    Permalink
    Definition Classes
    R
  18. def asQueuedList: Option[List[Option[String]]]

    Permalink
    Definition Classes
    R
  19. def asSet[T](implicit arg0: Parse[T]): Option[Set[Option[T]]]

    Permalink
    Definition Classes
    R
  20. def asString: Option[String]

    Permalink
    Definition Classes
    R
  21. def auth(secret: Any)(implicit format: Format): Nothing

    Permalink
    Definition Classes
    RedisClusterOperations
  22. def bgrewriteaof: Boolean

    Permalink
    Definition Classes
    RedisClusterNodeOperations
  23. def bgsave: Boolean

    Permalink
    Definition Classes
    RedisClusterNodeOperations
  24. def bitcount(key: Any, range: Option[(Int, Int)] = None)(implicit format: Format): Option[Int]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  25. def bitop(op: String, destKey: Any, srcKeys: Any*)(implicit format: Format): Nothing

    Permalink
    Definition Classes
    RedisClusterStringOperations
  26. def blpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V)]

    Permalink
    Definition Classes
    RedisClusterListOperations
  27. def brpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V)]

    Permalink
    Definition Classes
    RedisClusterListOperations
  28. def brpoplpush[A](srcKey: Any, dstKey: Any, timeoutInSeconds: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterListOperations
  29. def bulkRead(s: Array[Byte]): Option[Array[Byte]]

    Permalink
    Definition Classes
    Reply
  30. val bulkReply: SingleReply

    Permalink
    Definition Classes
    Reply
  31. def clearFd(): Unit

    Permalink
    Definition Classes
    IO
  32. val clients: List[IdentifiableRedisClientPool]

    Permalink
  33. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def close: ArrayBuffer[Unit]

    Permalink
  35. def cmd(args: Seq[Array[Byte]]): Array[Byte]

    Permalink
    Definition Classes
    Redis
  36. def connect: Boolean

    Permalink
    Definition Classes
    IO
  37. def connected: Boolean

    Permalink
    Definition Classes
    IO
  38. val database: Int

    Permalink
    Definition Classes
    RedisCommand
  39. var db: Int

    Permalink
    Definition Classes
    IO
  40. def dbsize: Option[Long]

    Permalink
    Definition Classes
    RedisClusterOperations
  41. def debug(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  42. def debug(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  43. def decr(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  44. def decrby(key: Any, increment: Long)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  45. def del(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterOperations
  46. def disconnect: Boolean

    Permalink
    Definition Classes
    IO
  47. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  49. val errReply: Reply[Nothing]

    Permalink
    Definition Classes
    Reply
  50. def error(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  51. def error(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  52. def evalBulk[A](luaCode: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    EvalOperations
  53. def evalMultiBulk[A](luaCode: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink
    Definition Classes
    EvalOperations
  54. def evalMultiSHA[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink
    Definition Classes
    EvalOperations
  55. def evalSHA[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    EvalOperations
  56. def evalSHABulk[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    EvalOperations
  57. def execReply(handlers: Seq[() ⇒ Any]): PartialFunction[(Char, Array[Byte]), Option[List[Any]]]

    Permalink
    Definition Classes
    Reply
  58. def exists(key: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  59. def expire(key: Any, expiry: Int)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  60. def expireat(key: Any, expiry: Long)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  61. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  62. def flattenPairs(in: Iterable[Product2[Any, Any]]): List[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    Redis
  63. def flushall: Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  64. def flushdb: Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  65. val geoRadiusMemberReply: Reply[Option[List[Option[GeoRadiusMember]]]]

    Permalink

    Entry point for GEORADIUS result analysis.

    Entry point for GEORADIUS result analysis. The analysis is done in three steps.

    First step : we are expecting a MULTI structure and will iterate trivially on it.

    Definition Classes
    Reply
  66. def geoadd(key: Any, members: Iterable[Product3[Any, Any, Any]]): Option[Int]

    Permalink

    Add the given members in the key geo sorted set

    Add the given members in the key geo sorted set

    key

    The geo sorted set

    members

    The members to be added. Format is (longitude, latitude, member)

    returns

    The number of elements added to the index. Repeated elements are not added.

    Definition Classes
    GeoOperations
  67. def geodist(key: Any, m1: Any, m2: Any, unit: Option[Any]): Option[String]

    Permalink
    Definition Classes
    GeoOperations
  68. def geohash[A](key: Any, members: Iterable[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    Get the geohash for each member in the key geo index.

    Get the geohash for each member in the key geo index.

    returns

    The geohash of each queried member.

    Definition Classes
    GeoOperations
  69. def geopos[A](key: Any, members: Iterable[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[List[Option[A]]]]]

    Permalink

    Retrieve the position of the members in the key geo sorted set.

    Retrieve the position of the members in the key geo sorted set. Note that if a member is not part of the set, None will be returned for this element.

    returns

    the coordinates of the input members in the same order.

    Definition Classes
    GeoOperations
  70. def georadius(key: Any, longitude: Any, latitude: Any, radius: Any, unit: Any, withCoord: Boolean, withDist: Boolean, withHash: Boolean, count: Option[Int], sort: Option[Any], store: Option[Any], storeDist: Option[Any]): Option[List[Option[GeoRadiusMember]]]

    Permalink

    Search for members around an origin point in the key geo sorted set

    Search for members around an origin point in the key geo sorted set

    key

    The geo index we are searching in

    longitude

    The base longitude for distance computation

    latitude

    The base latitude for distance computation

    radius

    The radius of the circle we want to search in

    unit

    The unit of the radius. Can be m (meters), km (kilometers), mi (miles), ft (feet)

    withCoord

    If true, the coordinate of the found members will be returned in the result

    withDist

    If true, the distance between the origin and the found members will be returned in the result

    withHash

    If true, the hash of the found members will be returned in the result

    count

    Max number of expected results

    sort

    The sorting strategy. If empty, order is not guaranteed. Can be ASC (ascending) or DESC (descending)

    store

    The Redis store we want to write the result in

    storeDist

    The redis storedist we want to write the result in

    returns

    The found members as GeoRadiusMember instances

    Definition Classes
    GeoOperations
  71. def georadiusbymember[A](key: Any, member: Any, radius: Any, unit: Any, withCoord: Boolean, withDist: Boolean, withHash: Boolean, count: Option[Int], sort: Option[Any], store: Option[Any], storeDist: Option[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[GeoRadiusMember]]]

    Permalink

    Search for members around a specific memberin the key geo sorted set

    Search for members around a specific memberin the key geo sorted set

    key

    The geo index we are searching in

    member

    The member we are searching around

    radius

    The radius of the circle we want to search in

    unit

    The unit of the radius. Can be m (meters), km (kilometers), mi (miles), ft (feet)

    withCoord

    If true, the coordinate of the found members will be returned in the result

    withDist

    If true, the distance between the origin and the found members will be returned in the result

    withHash

    If true, the hash of the found members will be returned in the result

    count

    Max number of expected results

    sort

    The sorting strategy. If empty, order is not guaranteed. Can be ASC (ascending) or DESC (descending)

    store

    The Redis store we want to write the result in

    storeDist

    The redis storedist we want to write the result in

    returns

    The found members as GeoRadiusMember instances

    Definition Classes
    GeoOperations
  72. def get[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  73. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  74. def getConfig(key: Any = "*")(implicit format: Format): Option[Map[String, Option[String]]]

    Permalink
    Definition Classes
    Operations
  75. def getType(key: Any)(implicit format: Format): Option[String]

    Permalink
    Definition Classes
    RedisClusterOperations
  76. def getbit(key: Any, offset: Int)(implicit format: Format): Option[Int]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  77. def getrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  78. def getset[A](key: Any, value: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  79. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  80. def hdel(key: Any, field: Any, fields: Any*)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterHashOperations
  81. def hexists(key: Any, field: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterHashOperations
  82. def hget[A](key: Any, field: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterHashOperations
  83. def hgetall[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]

    Permalink
    Definition Classes
    RedisClusterHashOperations
  84. def hgetall1[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]

    Permalink
    Definition Classes
    RedisClusterHashOperations
  85. def hincrby(key: Any, field: Any, value: Long)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterHashOperations
  86. def hincrbyfloat(key: Any, field: Any, value: Float)(implicit format: Format): Option[Float]

    Permalink
    Definition Classes
    HashOperations
  87. def hkeys[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    RedisClusterHashOperations
  88. def hlen(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterHashOperations
  89. def hmget[K, V](key: Any, fields: K*)(implicit format: Format, parseV: Parse[V]): Option[Map[K, V]]

    Permalink
    Definition Classes
    RedisClusterHashOperations
  90. def hmset(key: Any, map: Iterable[Product2[Any, Any]])(implicit format: Format): Boolean

    Permalink

    Sets the specified fields to their respective values in the hash stored at key.

    Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.

    map

    from fields to values

    returns

    True if operation completed successfully, False otherwise.

    Definition Classes
    RedisClusterHashOperations
    See also

    HMSET documentation

  91. val host: Null

    Permalink
    Definition Classes
    RedisClusterIO
  92. val hr: HashRing[IdentifiableRedisClientPool]

    Permalink
  93. def hscan[A](key: Any, cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Permalink
    Definition Classes
    HashOperations
  94. def hset(key: Any, field: Any, value: Any)(implicit format: Format): Boolean

    Permalink

    HashOperations

    HashOperations

    returns

    True if field is a new field in the hash and value was set, False if field already exists in the hash and the value was updated.

    Definition Classes
    RedisClusterHashOperations
  95. def hset1(key: Any, field: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink

    Sets field in the hash stored at key to value.

    Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.

    returns

    Some(0) if field is a new field in the hash and value was set, Some(1) if field already exists in the hash and the value was updated.

    Definition Classes
    RedisClusterHashOperations
    See also

    HSET documentation

  96. def hsetnx(key: Any, field: Any, value: Any)(implicit format: Format): Boolean

    Permalink

    Sets field in the hash stored at key to value, only if field does not yet exist.

    Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.

    returns

    True if field is a new field in the hash and value was set. False if field exists in the hash and no operation was performed.

    Definition Classes
    HashOperations
    See also

    HSETNX documentation

  97. def hvals[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    RedisClusterHashOperations
  98. def ifDebug(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  99. def ifError(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  100. def ifInfo(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  101. def ifTrace(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  102. def ifWarn(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  103. var in: InputStream

    Permalink
    Definition Classes
    IO
  104. def incr(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  105. def incrby(key: Any, increment: Long)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  106. def incrbyfloat(key: Any, increment: Float)(implicit format: Format): Option[Float]

    Permalink
    Definition Classes
    StringOperations
  107. def info: Nothing

    Permalink
    Definition Classes
    RedisClusterNodeOperations
  108. def info(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  109. def info(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  110. def initialize: Boolean

    Permalink
    Definition Classes
    RedisCommandRedis
  111. val integerReply: Reply[Option[Int]]

    Permalink
    Definition Classes
    Reply
  112. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  113. def keys[A](pattern: Any = "*")(implicit format: Format, parse: Parse[A]): Some[List[Option[A]]]

    Permalink

    Operations

    Operations

    Definition Classes
    RedisClusterOperations
  114. def lastsave: Nothing

    Permalink
    Definition Classes
    RedisClusterNodeOperations
  115. def lindex[A](key: Any, index: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterListOperations
  116. def listServers: List[ClusterNode]

    Permalink
  117. def llen(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterListOperations
  118. val longReply: Reply[Option[Long]]

    Permalink
    Definition Classes
    Reply
  119. def lpop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterListOperations
  120. def lpush(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink

    ListOperations

    ListOperations

    Definition Classes
    RedisClusterListOperations
  121. def lpushx(key: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    ListOperations
  122. def lrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink
    Definition Classes
    RedisClusterListOperations
  123. def lrem(key: Any, count: Int, value: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterListOperations
  124. def lset(key: Any, index: Int, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterListOperations
  125. def ltrim(key: Any, start: Int, end: Int)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterListOperations
  126. def mget[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  127. def monitor: Nothing

    Permalink
    Definition Classes
    RedisClusterNodeOperations
  128. def move(key: Any, db: Int)(implicit format: Format): Nothing

    Permalink
    Definition Classes
    RedisClusterOperations
  129. def mset(kvs: (Any, Any)*)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterStringOperations
  130. def msetnx(kvs: (Any, Any)*)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterStringOperations
  131. val multiBulkNested: MultiNestedReply

    Permalink
    Definition Classes
    Reply
  132. val multiBulkReply: MultiReply

    Permalink
    Definition Classes
    Reply
  133. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  134. def nodeForKey(key: Any)(implicit format: Format): IdentifiableRedisClientPool

    Permalink
  135. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  137. def onAllConns[T](body: (RedisClient) ⇒ T): ArrayBuffer[T]

    Permalink
  138. var out: OutputStream

    Permalink
    Definition Classes
    IO
  139. val pairBulkReply: PairReply

    Permalink
    Definition Classes
    Reply
  140. def persist(key: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    Operations
  141. def pexpire(key: Any, expiry: Int)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  142. def pexpireat(key: Any, expiry: Long)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  143. def pfadd(key: Any, value: Any, values: Any*): Option[Long]

    Permalink
    Definition Classes
    HyperLogLogOperations
  144. def pfcount(keys: Any*): Option[Long]

    Permalink
    Definition Classes
    HyperLogLogOperations
  145. def pfmerge(destination: Any, sources: Any*): Boolean

    Permalink
    Definition Classes
    HyperLogLogOperations
  146. def ping: Option[String]

    Permalink
    Definition Classes
    Operations
  147. val port: Int

    Permalink
    Definition Classes
    RedisClusterIO
  148. def processForKey[T](key: Any)(body: (RedisCommand) ⇒ T)(implicit format: Format): T

    Permalink
  149. def psetex(key: Any, expiryInMillis: Long, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    StringOperations
  150. def pttl(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterOperations
  151. def publish(channel: String, msg: String): Option[Long]

    Permalink
    Definition Classes
    PubOperations
  152. def queuedReplyInt: Reply[Option[Int]]

    Permalink
    Definition Classes
    Reply
  153. def queuedReplyList: MultiReply

    Permalink
    Definition Classes
    Reply
  154. def queuedReplyLong: Reply[Option[Long]]

    Permalink
    Definition Classes
    Reply
  155. def quit: Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  156. def randkey[A](implicit parse: Parse[A]): Nothing

    Permalink
    Definition Classes
    RedisClusterOperations
  157. def randomkey[A](implicit parse: Parse[A]): Nothing

    Permalink
    Definition Classes
    RedisClusterOperations
  158. def readCounted(count: Int): Array[Byte]

    Permalink
    Definition Classes
    IO
  159. def readLine: Array[Byte]

    Permalink
    Definition Classes
    IO
  160. def receive[T](pf: Reply[T]): T

    Permalink
    Definition Classes
    Reply
  161. def reconnect: Boolean

    Permalink
    Definition Classes
    Redis
  162. def removeServer(nodename: String): Unit

    Permalink
  163. def rename(oldkey: Any, newkey: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  164. def renamenx(oldkey: Any, newkey: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterOperations
  165. def replaceServer(server: ClusterNode): Unit

    Permalink

    Use Case: Suppose I have a big list of key/value pairs which are replicated in 2 Redis servers - one having test values for every key and the other having production values for the same set of keys.

    Use Case: Suppose I have a big list of key/value pairs which are replicated in 2 Redis servers - one having test values for every key and the other having production values for the same set of keys. In a cluster using replaceServer I can switch between test mode and production mode without disturbing the hash ring. This gives an additional level of abstraction on the node name decoupling it from the node address.

  166. def rpop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterListOperations
  167. def rpoplpush[A](srcKey: Any, dstKey: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterListOperations
  168. def rpush(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterListOperations
  169. def rpushx(key: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    ListOperations
  170. def sadd(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink

    SetOperations

    SetOperations

    Definition Classes
    RedisClusterSetOperations
  171. def save: Boolean

    Permalink

    NodeOperations

    NodeOperations

    Definition Classes
    RedisClusterNodeOperations
  172. def scan[A](cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Permalink
    Definition Classes
    Operations
  173. def scard(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  174. def scriptExists(shahash: String): Option[Int]

    Permalink
    Definition Classes
    EvalOperations
  175. def scriptFlush: Option[String]

    Permalink
    Definition Classes
    EvalOperations
  176. def scriptLoad(luaCode: String): Option[String]

    Permalink
    Definition Classes
    EvalOperations
  177. def sdiff[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  178. def sdiffstore(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  179. val secret: Option[Any]

    Permalink
    Definition Classes
    RedisCommand
  180. def select(index: Int): Nothing

    Permalink
    Definition Classes
    RedisClusterOperations
  181. def send[A](command: String)(result: ⇒ A): A

    Permalink
    Definition Classes
    Redis
  182. def send[A](command: String, args: Seq[Any])(result: ⇒ A)(implicit format: Format): A

    Permalink
    Definition Classes
    Redis
  183. def set(key: Any, value: Any, onlyIfExists: Boolean, time: SecondsOrMillis): Boolean

    Permalink
    Definition Classes
    RedisClusterStringOperations
  184. def set(key: Any, value: Any)(implicit format: Format): Boolean

    Permalink

    StringOperations

    StringOperations

    Definition Classes
    RedisClusterStringOperations
  185. def setConfig(key: Any, value: Any)(implicit format: Format): Option[String]

    Permalink
    Definition Classes
    Operations
  186. def setbit(key: Any, offset: Int, value: Any)(implicit format: Format): Option[Int]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  187. def setex(key: Any, expiry: Long, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterStringOperations
  188. def setnx(key: Any, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterStringOperations
  189. def setrange(key: Any, offset: Int, value: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  190. def shutdown: Boolean

    Permalink
    Definition Classes
    RedisClusterNodeOperations
  191. val singleLineReply: SingleReply

    Permalink
    Definition Classes
    Reply
  192. def sinter[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  193. def sinterstore(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  194. def sismember(key: Any, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    RedisClusterSetOperations
  195. def slaveof(options: Any): Nothing

    Permalink
    Definition Classes
    RedisClusterNodeOperations
  196. def smembers[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  197. def smove(sourceKey: Any, destKey: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  198. var socket: Socket

    Permalink
    Definition Classes
    IO
  199. def sort[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink
    Definition Classes
    Operations
  200. def sortNStore[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil, storeAt: String)(implicit format: Format, parse: Parse[A]): Option[Long]

    Permalink
    Definition Classes
    Operations
  201. def spop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  202. def spop[A](key: Any, count: Int)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink
    Definition Classes
    SetOperations
  203. def srandmember[A](key: Any, count: Int)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  204. def srandmember[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  205. def srem(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  206. def sscan[A](key: Any, cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Permalink
    Definition Classes
    SetOperations
  207. def strlen(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterStringOperations
  208. def sunion[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  209. def sunionstore(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSetOperations
  210. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  211. def time[A](implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink
    Definition Classes
    Operations
  212. val timeout: Int

    Permalink
    Definition Classes
    RedisClusterIO
  213. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  214. def trace(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  215. def trace(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  216. def ttl(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterOperations
  217. def unwatch(): Boolean

    Permalink
    Definition Classes
    Operations
  218. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  221. def warn(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  222. def warn(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  223. def watch(key: Any, keys: Any*)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    Operations
  224. def write(data: Array[Byte]): Unit

    Permalink
    Definition Classes
    IO
  225. def write_to_socket(data: Array[Byte])(op: (OutputStream) ⇒ Unit): Unit

    Permalink
    Definition Classes
    IO
  226. def zadd(key: Any, score: Double, member: Any, scoreVals: (Double, Any)*)(implicit format: Format): Option[Long]

    Permalink

    SortedSetOperations

    SortedSetOperations

    Definition Classes
    RedisClusterSortedSetOperations
  227. def zcard(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  228. def zcount(key: Any, min: Double = Double.NegativeInfinity, max: Double = Double.PositiveInfinity, minInclusive: Boolean = true, maxInclusive: Boolean = true)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  229. def zincrby(key: Any, incr: Double, member: Any)(implicit format: Format): Option[Double]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  230. def zinterstore(dstKey: Any, keys: Iterable[Any], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  231. def zinterstoreWeighted(dstKey: Any, kws: Iterable[Product2[Any, Double]], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  232. def zrange[A](key: Any, start: Int = 0, end: Int = 1, sortAs: SortOrder)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  233. def zrangeWithScore[A](key: Any, start: Int = 0, end: Int = 1, sortAs: SortOrder = ASC)(implicit format: Format, parse: Parse[A]): Option[List[(A, Double)]]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  234. def zrangebylex[A](key: Any, min: String, max: String, limit: Option[(Int, Int)])(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    SortedSetOperations
  235. def zrangebyscore[A](key: Any, min: Double = Double.NegativeInfinity, minInclusive: Boolean = true, max: Double = Double.PositiveInfinity, maxInclusive: Boolean = true, limit: Option[(Int, Int)], sortAs: SortOrder = ASC)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  236. def zrangebyscoreWithScore[A](key: Any, min: Double = Double.NegativeInfinity, minInclusive: Boolean = true, max: Double = Double.PositiveInfinity, maxInclusive: Boolean = true, limit: Option[(Int, Int)], sortAs: SortOrder = ASC)(implicit format: Format, parse: Parse[A]): Option[List[(A, Double)]]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  237. def zrank(key: Any, member: Any, reverse: Boolean = false)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  238. def zrem(key: Any, member: Any, members: Any*)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  239. def zremrangebyrank(key: Any, start: Int = 0, end: Int = 1)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  240. def zremrangebyscore(key: Any, start: Double = Double.NegativeInfinity, end: Double = Double.PositiveInfinity)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  241. def zscan[A](key: Any, cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Permalink
    Definition Classes
    SortedSetOperations
  242. def zscore(key: Any, element: Any)(implicit format: Format): Option[Double]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  243. def zunionstore(dstKey: Any, keys: Iterable[Any], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations
  244. def zunionstoreWeighted(dstKey: Any, kws: Iterable[Product2[Any, Double]], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    RedisClusterSortedSetOperations

Deprecated Value Members

  1. def set(key: Any, value: Any, nxxx: Any, expx: Any, time: Long): Boolean

    Permalink
    Definition Classes
    StringOperations
    Annotations
    @deprecated
    Deprecated

    (Since version 2.14) Use the more typesafe variant

  2. def slaveOf(options: Any): Boolean

    Permalink
    Definition Classes
    NodeOperations
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) use slaveof

Inherited from RedisCommand

Inherited from HyperLogLogOperations

Inherited from PubOperations

Inherited from EvalOperations

Inherited from HashOperations

Inherited from SortedSetOperations

Inherited from SetOperations

Inherited from ListOperations

Inherited from StringOperations

Inherited from NodeOperations

Inherited from GeoOperations

Inherited from Operations

Inherited from Redis

Inherited from Protocol

Inherited from R

Inherited from redis.Reply

Inherited from IO

Inherited from Log

Inherited from AnyRef

Inherited from Any

Ungrouped