Packages

class RedisClient extends AnyRef

This factory is deprecated use io.vertx.scala.redis.client.Redis instead, or for a typed API io.vertx.scala.redis.client.RedisAPI.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisClient(_asJava: AnyRef)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def append(key: String, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Append a value to a key * @param key Key string

    Append a value to a key * @param key Key string

    value

    Value to append

    handler

    Handler for the result of this call.

  5. def appendFuture(key: String, value: String): Future[Long]

    Like append but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asJava: AnyRef
  8. def auth(password: String, handler: Handler[AsyncResult[String]]): RedisClient

    Authenticate to the server * @param password Password for authentication

    Authenticate to the server * @param password Password for authentication

    handler

    Handler for the result of this call.

  9. def authFuture(password: String): Future[String]

    Like auth but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  10. def bgrewriteaof(handler: Handler[AsyncResult[String]]): RedisClient

    Asynchronously rewrite the append-only file

  11. def bgrewriteaofFuture(): Future[String]

    Like bgrewriteaof but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  12. def bgsave(handler: Handler[AsyncResult[String]]): RedisClient

    Asynchronously save the dataset to disk

  13. def bgsaveFuture(): Future[String]

    Like bgsave but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  14. def bitcount(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Count set bits in a string * @param key Key string

    Count set bits in a string * @param key Key string

    handler

    Handler for the result of this call.

  15. def bitcountFuture(key: String): Future[Long]

    Like bitcount but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  16. def bitcountRange(key: String, start: Long, end: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Count set bits in a string * @param key Key string

    Count set bits in a string * @param key Key string

    start

    Start index

    end

    End index

    handler

    Handler for the result of this call.

  17. def bitcountRangeFuture(key: String, start: Long, end: Long): Future[Long]

    Like bitcountRange but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  18. def bitfield(key: String, bitFieldOptions: BitFieldOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Perform arbitrary bitfield integer operations on strings.

    Perform arbitrary bitfield integer operations on strings. * @param key Key string

  19. def bitfieldFuture(key: String, bitFieldOptions: BitFieldOptions): Future[JsonArray]

    Like bitfield but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  20. def bitfieldWithOverflow(key: String, commands: BitFieldOptions, overflow: BitFieldOverflowOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Perform arbitrary bitfield integer operations on strings.

    Perform arbitrary bitfield integer operations on strings. * @param key Key string

  21. def bitfieldWithOverflowFuture(key: String, commands: BitFieldOptions, overflow: BitFieldOverflowOptions): Future[JsonArray]

    Like bitfieldWithOverflow but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  22. def bitop(operation: BitOperation, destkey: String, keys: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Perform bitwise operations between strings * @param operation Bitwise operation to perform

    Perform bitwise operations between strings * @param operation Bitwise operation to perform

    destkey

    Destination key where result is stored

    keys

    List of keys on which to perform the operation

    handler

    Handler for the result of this call.

  23. def bitopFuture(operation: BitOperation, destkey: String, keys: Buffer[String]): Future[Long]

    Like bitop but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  24. def bitpos(key: String, bit: Int, handler: Handler[AsyncResult[Long]]): RedisClient

    Find first bit set or clear in a string * @param key Key string

    Find first bit set or clear in a string * @param key Key string

    bit

    What bit value to look for - must be 1, or 0

    handler

    Handler for the result of this call.

  25. def bitposFrom(key: String, bit: Int, start: Int, handler: Handler[AsyncResult[Long]]): RedisClient

    Find first bit set or clear in a string

    Find first bit set or clear in a string

    See also bitposRange() method, which takes start, and stop offset. * @param key Key string

    bit

    What bit value to look for - must be 1, or 0

    start

    Start offset

    handler

    Handler for the result of this call.

  26. def bitposFromFuture(key: String, bit: Int, start: Int): Future[Long]

    Like bitposFrom but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  27. def bitposFuture(key: String, bit: Int): Future[Long]

    Like bitpos but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  28. def bitposRange(key: String, bit: Int, start: Int, stop: Int, handler: Handler[AsyncResult[Long]]): RedisClient

    Find first bit set or clear in a string

    Find first bit set or clear in a string

    Note: when both start, and stop offsets are specified, behaviour is slightly different than if only start is specified * @param key Key string

    bit

    What bit value to look for - must be 1, or 0

    start

    Start offset

    stop

    End offset - inclusive

    handler

    Handler for the result of this call.

  29. def bitposRangeFuture(key: String, bit: Int, start: Int, stop: Int): Future[Long]

    Like bitposRange but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  30. def blpop(key: String, seconds: Int, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Remove and get the first element in a list, or block until one is available * @param key Key string identifying a list to watch

    Remove and get the first element in a list, or block until one is available * @param key Key string identifying a list to watch

    seconds

    Timeout in seconds

    handler

    Handler for the result of this call.

  31. def blpopFuture(key: String, seconds: Int): Future[JsonArray]

    Like blpop but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  32. def blpopMany(keys: Buffer[String], seconds: Int, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Remove and get the first element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch

    Remove and get the first element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch

    seconds

    Timeout in seconds

    handler

    Handler for the result of this call.

  33. def blpopManyFuture(keys: Buffer[String], seconds: Int): Future[JsonArray]

    Like blpopMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  34. def brpop(key: String, seconds: Int, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Remove and get the last element in a list, or block until one is available * @param key Key string identifying a list to watch

    Remove and get the last element in a list, or block until one is available * @param key Key string identifying a list to watch

    seconds

    Timeout in seconds

    handler

    Handler for the result of this call.

  35. def brpopFuture(key: String, seconds: Int): Future[JsonArray]

    Like brpop but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  36. def brpopMany(keys: Buffer[String], seconds: Int, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Remove and get the last element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch

    Remove and get the last element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch

    seconds

    Timeout in seconds

    handler

    Handler for the result of this call.

  37. def brpopManyFuture(keys: Buffer[String], seconds: Int): Future[JsonArray]

    Like brpopMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  38. def brpoplpush(key: String, destkey: String, seconds: Int, handler: Handler[AsyncResult[String]]): RedisClient

    Pop a value from a list, push it to another list and return it; or block until one is available * @param key Key string identifying the source list

    Pop a value from a list, push it to another list and return it; or block until one is available * @param key Key string identifying the source list

    destkey

    Key string identifying the destination list

    seconds

    Timeout in seconds

    handler

    Handler for the result of this call.

  39. def brpoplpushFuture(key: String, destkey: String, seconds: Int): Future[String]

    Like brpoplpush but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  40. def clientGetname(handler: Handler[AsyncResult[String]]): RedisClient

    Get the current connection name

  41. def clientGetnameFuture(): Future[String]

    Like clientGetname but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  42. def clientKill(filter: KillFilter, handler: Handler[AsyncResult[Long]]): RedisClient

    Kill the connection of a client * @param filter Filter options see KillFilter

    Kill the connection of a client * @param filter Filter options see KillFilter

    handler

    Handler for the result of this call.

  43. def clientKillFuture(filter: KillFilter): Future[Long]

    Like clientKill but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  44. def clientList(handler: Handler[AsyncResult[String]]): RedisClient

    Get the list of client connections

  45. def clientListFuture(): Future[String]

    Like clientList but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  46. def clientPause(millis: Long, handler: Handler[AsyncResult[String]]): RedisClient

    Stop processing commands from clients for some time * @param millis Pause time in milliseconds

    Stop processing commands from clients for some time * @param millis Pause time in milliseconds

    handler

    Handler for the result of this call.

  47. def clientPauseFuture(millis: Long): Future[String]

    Like clientPause but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  48. def clientReply(options: ClientReplyOptions, handler: Handler[AsyncResult[String]]): RedisClient

    Instruct the server whether to reply to commands.

  49. def clientReplyFuture(options: ClientReplyOptions): Future[String]

    Like clientReply but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  50. def clientSetname(name: String, handler: Handler[AsyncResult[String]]): RedisClient

    Set the current connection name * @param name New name for current connection

    Set the current connection name * @param name New name for current connection

    handler

    Handler for the result of this call.

  51. def clientSetnameFuture(name: String): Future[String]

    Like clientSetname but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  52. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  53. def close(handler: Handler[AsyncResult[Unit]]): Unit

    Close the client - when it is fully closed the handler will be called.

  54. def closeFuture(): Future[Unit]

    Like close but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  55. def clusterAddslots(slots: Buffer[Long], handler: Handler[AsyncResult[Unit]]): RedisClient

    Assign new hash slots to receiving node.

    Assign new hash slots to receiving node. * @param handler Handler for the result of this call.

  56. def clusterAddslotsFuture(slots: Buffer[Long]): Future[Unit]

    Like clusterAddslots but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  57. def clusterCountFailureReports(nodeId: String, handler: Handler[AsyncResult[Long]]): RedisClient

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

    Return the number of failure reports active for a given node. * @param handler Handler for the result of this call.

  58. def clusterCountFailureReportsFuture(nodeId: String): Future[Long]

    Like clusterCountFailureReports but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  59. def clusterCountkeysinslot(slot: Long, handler: Handler[AsyncResult[Long]]): RedisClient

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

    Return the number of local keys in the specified hash slot. * @param handler Handler for the result of this call.

  60. def clusterCountkeysinslotFuture(slot: Long): Future[Long]

    Like clusterCountkeysinslot but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  61. def clusterDelslots(slot: Long, handler: Handler[AsyncResult[Unit]]): RedisClient

    Set hash slots as unbound in receiving node.

    Set hash slots as unbound in receiving node. * @param handler Handler for the result of this call.

  62. def clusterDelslotsFuture(slot: Long): Future[Unit]

    Like clusterDelslots but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  63. def clusterDelslotsMany(slots: Buffer[Long], handler: Handler[AsyncResult[Unit]]): RedisClient

    Set hash slots as unbound in receiving node.

    Set hash slots as unbound in receiving node. * @param handler Handler for the result of this call.

  64. def clusterDelslotsManyFuture(slots: Buffer[Long]): Future[Unit]

    Like clusterDelslotsMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  65. def clusterFailOverWithOptions(options: FailoverOptions, handler: Handler[AsyncResult[Unit]]): RedisClient

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

    Forces a slave to perform a manual failover of its master. * @param handler Handler for the result of this call.

  66. def clusterFailOverWithOptionsFuture(options: FailoverOptions): Future[Unit]

    Like clusterFailOverWithOptions but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  67. def clusterFailover(handler: Handler[AsyncResult[Unit]]): RedisClient

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

    Forces a slave to perform a manual failover of its master. * @param handler Handler for the result of this call.

  68. def clusterFailoverFuture(): Future[Unit]

    Like clusterFailover but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  69. def clusterForget(nodeId: String, handler: Handler[AsyncResult[Unit]]): RedisClient

    Remove a node from the nodes table.

    Remove a node from the nodes table. * @param handler Handler for the result of this call.

  70. def clusterForgetFuture(nodeId: String): Future[Unit]

    Like clusterForget but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  71. def clusterGetkeysinslot(slot: Long, count: Long, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return local key names in the specified hash slot.

    Return local key names in the specified hash slot. * @param handler Handler for the result of this call.

  72. def clusterGetkeysinslotFuture(slot: Long, count: Long): Future[JsonArray]

    Like clusterGetkeysinslot but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  73. def clusterInfo(handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Provides info about Redis Cluster node state.

    Provides info about Redis Cluster node state. * @param handler Handler for the result of this call.

  74. def clusterInfoFuture(): Future[JsonArray]

    Like clusterInfo but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  75. def clusterKeyslot(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Returns the hash slot of the specified key.

    Returns the hash slot of the specified key. * @param handler Handler for the result of this call.

  76. def clusterKeyslotFuture(key: String): Future[Long]

    Like clusterKeyslot but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  77. def clusterMeet(ip: String, port: Long, handler: Handler[AsyncResult[Unit]]): RedisClient

    Force a node cluster to handshake with another node.

    Force a node cluster to handshake with another node. * @param handler Handler for the result of this call.

  78. def clusterMeetFuture(ip: String, port: Long): Future[Unit]

    Like clusterMeet but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  79. def clusterNodes(handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get Cluster config for the node.

    Get Cluster config for the node. * @param handler Handler for the result of this call.

  80. def clusterNodesFuture(): Future[JsonArray]

    Like clusterNodes but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  81. def clusterReplicate(nodeId: String, handler: Handler[AsyncResult[Unit]]): RedisClient

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

    Reconfigure a node as a slave of the specified master node. * @param handler Handler for the result of this call.

  82. def clusterReplicateFuture(nodeId: String): Future[Unit]

    Like clusterReplicate but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  83. def clusterReset(handler: Handler[AsyncResult[Unit]]): RedisClient

    Reset a Redis Cluster node.

    Reset a Redis Cluster node. * @param handler Handler for the result of this call.

  84. def clusterResetFuture(): Future[Unit]

    Like clusterReset but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  85. def clusterResetWithOptions(options: ResetOptions, handler: Handler[AsyncResult[Unit]]): RedisClient

    Reset a Redis Cluster node.

    Reset a Redis Cluster node. * @param handler Handler for the result of this call.

  86. def clusterResetWithOptionsFuture(options: ResetOptions): Future[Unit]

    Like clusterResetWithOptions but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  87. def clusterSaveconfig(handler: Handler[AsyncResult[Unit]]): RedisClient

    Forces the node to save cluster state on disk.

    Forces the node to save cluster state on disk. * @param handler Handler for the result of this call.

  88. def clusterSaveconfigFuture(): Future[Unit]

    Like clusterSaveconfig but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  89. def clusterSetConfigEpoch(epoch: Long, handler: Handler[AsyncResult[Unit]]): RedisClient

    Set the configuration epoch in a new node.

    Set the configuration epoch in a new node. * @param handler Handler for the result of this call.

  90. def clusterSetConfigEpochFuture(epoch: Long): Future[Unit]

    Like clusterSetConfigEpoch but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  91. def clusterSetslot(slot: Long, subcommand: SlotCmd, handler: Handler[AsyncResult[Unit]]): RedisClient

    Bind an hash slot to a specific node.

    Bind an hash slot to a specific node. * @param handler Handler for the result of this call.

  92. def clusterSetslotFuture(slot: Long, subcommand: SlotCmd): Future[Unit]

    Like clusterSetslot but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  93. def clusterSetslotWithNode(slot: Long, subcommand: SlotCmd, nodeId: String, handler: Handler[AsyncResult[Unit]]): RedisClient

    Bind an hash slot to a specific node.

    Bind an hash slot to a specific node. * @param handler Handler for the result of this call.

  94. def clusterSetslotWithNodeFuture(slot: Long, subcommand: SlotCmd, nodeId: String): Future[Unit]

    Like clusterSetslotWithNode but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  95. def clusterSlaves(nodeId: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    List slave nodes of the specified master node.

    List slave nodes of the specified master node. * @param handler Handler for the result of this call.

  96. def clusterSlavesFuture(nodeId: String): Future[JsonArray]

    Like clusterSlaves but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  97. def clusterSlots(handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get array of Cluster slot to node mappings

  98. def clusterSlotsFuture(): Future[JsonArray]

    Like clusterSlots but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  99. def command(handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get array of Redis command details

  100. def commandCount(handler: Handler[AsyncResult[Long]]): RedisClient

    Get total number of Redis commands

  101. def commandCountFuture(): Future[Long]

    Like commandCount but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  102. def commandFuture(): Future[JsonArray]

    Like command but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  103. def commandGetkeys(handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Extract keys given a full Redis command

  104. def commandGetkeysFuture(): Future[JsonArray]

    Like commandGetkeys but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  105. def commandInfo(commands: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get array of specific Redis command details * @param commands List of commands to get info for

    Get array of specific Redis command details * @param commands List of commands to get info for

    handler

    Handler for the result of this call.

  106. def commandInfoFuture(commands: Buffer[String]): Future[JsonArray]

    Like commandInfo but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  107. def configGet(parameter: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get the value of a configuration parameter * @param parameter Configuration parameter

    Get the value of a configuration parameter * @param parameter Configuration parameter

    handler

    Handler for the result of this call.

  108. def configGetFuture(parameter: String): Future[JsonArray]

    Like configGet but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  109. def configResetstat(handler: Handler[AsyncResult[String]]): RedisClient

    Reset the stats returned by INFO

  110. def configResetstatFuture(): Future[String]

    Like configResetstat but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  111. def configRewrite(handler: Handler[AsyncResult[String]]): RedisClient

    Rewrite the configuration file with the in memory configuration

  112. def configRewriteFuture(): Future[String]

    Like configRewrite but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  113. def configSet(parameter: String, value: String, handler: Handler[AsyncResult[String]]): RedisClient

    Set a configuration parameter to the given value * @param parameter Configuration parameter

    Set a configuration parameter to the given value * @param parameter Configuration parameter

    value

    New value

    handler

    Handler for the result of this call.

  114. def configSetFuture(parameter: String, value: String): Future[String]

    Like configSet but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  115. def dbsize(handler: Handler[AsyncResult[Long]]): RedisClient

    Return the number of keys in the selected database

  116. def dbsizeFuture(): Future[Long]

    Like dbsize but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  117. def debugObject(key: String, handler: Handler[AsyncResult[String]]): RedisClient

    Get debugging information about a key * @param key Key string

    Get debugging information about a key * @param key Key string

    handler

    Handler for the result of this call.

  118. def debugObjectFuture(key: String): Future[String]

    Like debugObject but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  119. def debugSegfault(handler: Handler[AsyncResult[String]]): RedisClient

    Make the server crash

  120. def debugSegfaultFuture(): Future[String]

    Like debugSegfault but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  121. def decr(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Decrement the integer value of a key by one * @param key Key string

    Decrement the integer value of a key by one * @param key Key string

    handler

    Handler for the result of this call.

  122. def decrFuture(key: String): Future[Long]

    Like decr but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  123. def decrby(key: String, decrement: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Decrement the integer value of a key by the given number * @param key Key string

    Decrement the integer value of a key by the given number * @param key Key string

    decrement

    Value by which to decrement

    handler

    Handler for the result of this call.

  124. def decrbyFuture(key: String, decrement: Long): Future[Long]

    Like decrby but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  125. def del(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Delete a key * @param key Keys to delete

    Delete a key * @param key Keys to delete

    handler

    Handler for the result of this call.

  126. def delFuture(key: String): Future[Long]

    Like del but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  127. def delMany(keys: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Delete many keys * @param keys List of keys to delete

    Delete many keys * @param keys List of keys to delete

    handler

    Handler for the result of this call.

  128. def delManyFuture(keys: Buffer[String]): Future[Long]

    Like delMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  129. def dump(key: String, handler: Handler[AsyncResult[String]]): RedisClient

    Return a serialized version of the value stored at the specified key.

    Return a serialized version of the value stored at the specified key. * @param key Key string

    handler

    Handler for the result of this call.

  130. def dumpFuture(key: String): Future[String]

    Like dump but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  131. def echo(message: String, handler: Handler[AsyncResult[String]]): RedisClient

    Echo the given string * @param message String to echo

    Echo the given string * @param message String to echo

    handler

    Handler for the result of this call.

  132. def echoFuture(message: String): Future[String]

    Like echo but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  133. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  134. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  135. def eval(script: String, keys: Buffer[String], args: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Execute a Lua script server side.

    Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

    When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String. * @param script Lua script to evaluate

    keys

    List of keys

    args

    List of argument values

    handler

    Handler for the result of this call.

  136. def evalFuture(script: String, keys: Buffer[String], args: Buffer[String]): Future[JsonArray]

    Like eval but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  137. def evalScript(script: Script, keys: Buffer[String], args: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Execute a Lua script server side.

    Execute a Lua script server side. This method is a high level wrapper around EVAL and EVALSHA using the latter if possible, falling back to EVAL if the script is not cached by the server yet. According to Redis documentation, executed scripts are guaranteed to be in the script cache of a given execution of a Redis instance forever, which means typically the overhead incurred by optimistically sending EVALSHA is minimal, while improving performance and saving bandwidth compared to using EVAL every time. * @param script Lua script and its SHA1 digest

    keys

    List of keys

    args

    List of argument values

    handler

    Handler for the result of this call. group: scripting

  138. def evalScriptFuture(script: Script, keys: Buffer[String], args: Buffer[String]): Future[JsonArray]

    Like evalScript but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  139. def evalsha(sha1: String, keys: Buffer[String], values: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Execute a Lua script server side.

    Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

    When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String. * @param sha1 SHA1 digest of the script cached on the server

    keys

    List of keys

    values

    List of values

    handler

    Handler for the result of this call.

  140. def evalshaFuture(sha1: String, keys: Buffer[String], values: Buffer[String]): Future[JsonArray]

    Like evalsha but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  141. def exists(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Determine if a key exists * @param key Key string

    Determine if a key exists * @param key Key string

    handler

    Handler for the result of this call.

  142. def existsFuture(key: String): Future[Long]

    Like exists but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  143. def existsMany(keys: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Determine if one or many keys exist * @param keys List of key strings

    Determine if one or many keys exist * @param keys List of key strings

    handler

    Handler for the result of this call.

  144. def existsManyFuture(keys: Buffer[String]): Future[Long]

    Like existsMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  145. def expire(key: String, seconds: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Set a key's time to live in seconds * @param key Key string

    Set a key's time to live in seconds * @param key Key string

    seconds

    Time to live in seconds

    handler

    Handler for the result of this call.

  146. def expireFuture(key: String, seconds: Long): Future[Long]

    Like expire but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  147. def expireat(key: String, seconds: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Set the expiration for a key as a UNIX timestamp * @param key Key string

    Set the expiration for a key as a UNIX timestamp * @param key Key string

    seconds

    Expiry time as Unix timestamp in seconds

    handler

    Handler for the result of this call.

  148. def expireatFuture(key: String, seconds: Long): Future[Long]

    Like expireat but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  149. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  150. def flushall(handler: Handler[AsyncResult[String]]): RedisClient

    Remove all keys from all databases

  151. def flushallFuture(): Future[String]

    Like flushall but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  152. def flushdb(handler: Handler[AsyncResult[String]]): RedisClient

    Remove all keys from the current database

  153. def flushdbFuture(): Future[String]

    Like flushdb but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  154. def geoadd(key: String, longitude: Double, latitude: Double, member: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Add one or more geospatial items in the geospatial index represented using a sorted set.

    Add one or more geospatial items in the geospatial index represented using a sorted set. * @param key Key string

    longitude

    longitude

    latitude

    latitude

    member

    member

    handler

    Handler for the result of this call.

  155. def geoaddFuture(key: String, longitude: Double, latitude: Double, member: String): Future[Long]

    Like geoadd but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  156. def geoaddMany(key: String, members: Buffer[GeoMember], handler: Handler[AsyncResult[Long]]): RedisClient

    Add one or more geospatial items in the geospatial index represented using a sorted set.

    Add one or more geospatial items in the geospatial index represented using a sorted set. * @param key Key string

    members

    list of <lon, lat, member>

    handler

    Handler for the result of this call.

  157. def geoaddManyFuture(key: String, members: Buffer[GeoMember]): Future[Long]

    Like geoaddMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  158. def geodist(key: String, member1: String, member2: String, handler: Handler[AsyncResult[String]]): RedisClient

    Return the distance between two members in the geospatial index represented by the sorted set.

    Return the distance between two members in the geospatial index represented by the sorted set. * @param key Key string

    member1

    member 1

    member2

    member 2

    handler

    Handler for the result of this call.

  159. def geodistFuture(key: String, member1: String, member2: String): Future[String]

    Like geodist but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  160. def geodistWithUnit(key: String, member1: String, member2: String, unit: GeoUnit, handler: Handler[AsyncResult[String]]): RedisClient

    Return the distance between two members in the geospatial index represented by the sorted set.

    Return the distance between two members in the geospatial index represented by the sorted set. * @param key Key string

    member1

    member 1

    member2

    member 2

    unit

    geo unit

    handler

    Handler for the result of this call.

  161. def geodistWithUnitFuture(key: String, member1: String, member2: String, unit: GeoUnit): Future[String]

    Like geodistWithUnit but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  162. def geohash(key: String, member: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).

    Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD). * @param key Key string

    member

    member

    handler

    Handler for the result of this call.

  163. def geohashFuture(key: String, member: String): Future[JsonArray]

    Like geohash but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  164. def geohashMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).

    Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD). * @param key Key string

    members

    list of members

    handler

    Handler for the result of this call.

  165. def geohashManyFuture(key: String, members: Buffer[String]): Future[JsonArray]

    Like geohashMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  166. def geopos(key: String, member: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.

    Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key. * @param key Key string

    member

    member

    handler

    Handler for the result of this call.

  167. def geoposFuture(key: String, member: String): Future[JsonArray]

    Like geopos but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  168. def geoposMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.

    Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key. * @param key Key string

    members

    list of members

    handler

    Handler for the result of this call.

  169. def geoposManyFuture(key: String, members: Buffer[String]): Future[JsonArray]

    Like geoposMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  170. def georadius(key: String, longitude: Double, latitude: Double, radius: Double, unit: GeoUnit, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).

    Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius). * @param key Key string

    longitude

    longitude

    latitude

    latitude

    radius

    radius

    unit

    geo unit

    handler

    Handler for the result of this call.

  171. def georadiusFuture(key: String, longitude: Double, latitude: Double, radius: Double, unit: GeoUnit): Future[JsonArray]

    Like georadius but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  172. def georadiusWithOptions(key: String, longitude: Double, latitude: Double, radius: Double, unit: GeoUnit, options: GeoRadiusOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).

    Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius). * @param key Key string

    longitude

    longitude

    latitude

    latitude

    radius

    radius

    unit

    geo unit

    options

    geo radius options see GeoRadiusOptions

    handler

    Handler for the result of this call.

  173. def georadiusWithOptionsFuture(key: String, longitude: Double, latitude: Double, radius: Double, unit: GeoUnit, options: GeoRadiusOptions): Future[JsonArray]

    Like georadiusWithOptions but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  174. def georadiusbymember(key: String, member: String, radius: Double, unit: GeoUnit, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.

    This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set. * @param key Key string

    member

    member

    radius

    radius

    unit

    geo unit

    handler

    Handler for the result of this call.

  175. def georadiusbymemberFuture(key: String, member: String, radius: Double, unit: GeoUnit): Future[JsonArray]

    Like georadiusbymember but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  176. def georadiusbymemberWithOptions(key: String, member: String, radius: Double, unit: GeoUnit, options: GeoRadiusOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.

    This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set. * @param key Key string

    member

    member

    radius

    radius

    unit

    geo unit

    options

    geo radius options see GeoRadiusOptions

    handler

    Handler for the result of this call.

  177. def georadiusbymemberWithOptionsFuture(key: String, member: String, radius: Double, unit: GeoUnit, options: GeoRadiusOptions): Future[JsonArray]

    Like georadiusbymemberWithOptions but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  178. def get(key: String, handler: Handler[AsyncResult[Option[String]]]): RedisClient

    Get the value of a key * @param key Key string

    Get the value of a key * @param key Key string

    handler

    Handler for the result of this call.

  179. def getBinary(key: String, handler: Handler[AsyncResult[Option[Buffer]]]): RedisClient

    Get the value of a key - without decoding as utf-8 * @param key Key string

    Get the value of a key - without decoding as utf-8 * @param key Key string

    handler

    Handler for the result of this call.

  180. def getBinaryFuture(key: String): Future[Option[Buffer]]

    Like getBinary but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  181. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  182. def getFuture(key: String): Future[Option[String]]

    Like get but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  183. def getbit(key: String, offset: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Returns the bit value at offset in the string value stored at key * @param key Key string

    Returns the bit value at offset in the string value stored at key * @param key Key string

    offset

    Offset in bits

    handler

    Handler for the result of this call.

  184. def getbitFuture(key: String, offset: Long): Future[Long]

    Like getbit but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  185. def getrange(key: String, start: Long, end: Long, handler: Handler[AsyncResult[String]]): RedisClient

    Get a substring of the string stored at a key * @param key Key string

    Get a substring of the string stored at a key * @param key Key string

    start

    Start offset

    end

    End offset - inclusive

    handler

    Handler for the result of this call.

  186. def getrangeFuture(key: String, start: Long, end: Long): Future[String]

    Like getrange but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  187. def getset(key: String, value: String, handler: Handler[AsyncResult[Option[String]]]): RedisClient

    Set the string value of a key and return its old value * @param key Key of which value to set

    Set the string value of a key and return its old value * @param key Key of which value to set

    value

    New value for the key

    handler

    Handler for the result of this call.

  188. def getsetFuture(key: String, value: String): Future[Option[String]]

    Like getset but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  189. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  190. def hdel(key: String, field: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Delete one or more hash fields * @param key Key string

    Delete one or more hash fields * @param key Key string

    field

    Field name

    handler

    Handler for the result of this call.

  191. def hdelFuture(key: String, field: String): Future[Long]

    Like hdel but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  192. def hdelMany(key: String, fields: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Delete one or more hash fields * @param key Key string

    Delete one or more hash fields * @param key Key string

    fields

    Field names

    handler

    Handler for the result of this call.

  193. def hdelManyFuture(key: String, fields: Buffer[String]): Future[Long]

    Like hdelMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  194. def hexists(key: String, field: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Determine if a hash field exists * @param key Key string

    Determine if a hash field exists * @param key Key string

    field

    Field name

    handler

    Handler for the result of this call.

  195. def hexistsFuture(key: String, field: String): Future[Long]

    Like hexists but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  196. def hget(key: String, field: String, handler: Handler[AsyncResult[Option[String]]]): RedisClient

    Get the value of a hash field * @param key Key string

    Get the value of a hash field * @param key Key string

    field

    Field name

    handler

    Handler for the result of this call.

  197. def hgetFuture(key: String, field: String): Future[Option[String]]

    Like hget but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  198. def hgetall(key: String, handler: Handler[AsyncResult[JsonObject]]): RedisClient

    Get all the fields and values in a hash * @param key Key string

    Get all the fields and values in a hash * @param key Key string

    handler

    Handler for the result of this call.

  199. def hgetallFuture(key: String): Future[JsonObject]

    Like hgetall but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  200. def hincrby(key: String, field: String, increment: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Increment the integer value of a hash field by the given number * @param key Key string

    Increment the integer value of a hash field by the given number * @param key Key string

    field

    Field name

    increment

    Value by which to increment

    handler

    Handler for the result of this call.

  201. def hincrbyFuture(key: String, field: String, increment: Long): Future[Long]

    Like hincrby but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  202. def hincrbyfloat(key: String, field: String, increment: Double, handler: Handler[AsyncResult[String]]): RedisClient

    Increment the float value of a hash field by the given amount * @param key Key string

    Increment the float value of a hash field by the given amount * @param key Key string

    field

    Field name

    increment

    Value by which to increment

    handler

    Handler for the result of this call.

  203. def hincrbyfloatFuture(key: String, field: String, increment: Double): Future[String]

    Like hincrbyfloat but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  204. def hkeys(key: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get all the fields in a hash * @param key Key string

    Get all the fields in a hash * @param key Key string

    handler

    Handler for the result of this call.

  205. def hkeysFuture(key: String): Future[JsonArray]

    Like hkeys but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  206. def hlen(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Get the number of fields in a hash * @param key Key string

    Get the number of fields in a hash * @param key Key string

    handler

    Handler for the result of this call.

  207. def hlenFuture(key: String): Future[Long]

    Like hlen but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  208. def hmget(key: String, fields: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get the values of all the given hash fields * @param key Key string

    Get the values of all the given hash fields * @param key Key string

    fields

    Field names

    handler

    Handler for the result of this call.

  209. def hmgetFuture(key: String, fields: Buffer[String]): Future[JsonArray]

    Like hmget but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  210. def hmset(key: String, values: JsonObject, handler: Handler[AsyncResult[String]]): RedisClient

    Set multiple hash fields to multiple values * @param key Key string

    Set multiple hash fields to multiple values * @param key Key string

    values

    Map of field:value pairs

    handler

    Handler for the result of this call.

  211. def hmsetFuture(key: String, values: JsonObject): Future[String]

    Like hmset but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  212. def hscan(key: String, cursor: String, options: ScanOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Incrementally iterate hash fields and associated values * @param key Key string

    Incrementally iterate hash fields and associated values * @param key Key string

    cursor

    Cursor id

    options

    Scan options see ScanOptions

    handler

    Handler for the result of this call.

  213. def hscanFuture(key: String, cursor: String, options: ScanOptions): Future[JsonArray]

    Like hscan but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  214. def hset(key: String, field: String, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Set the string value of a hash field * @param key Key string

    Set the string value of a hash field * @param key Key string

    field

    Field name

    value

    New value

    handler

    Handler for the result of this call.

  215. def hsetFuture(key: String, field: String, value: String): Future[Long]

    Like hset but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  216. def hsetnx(key: String, field: String, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Set the value of a hash field, only if the field does not exist * @param key Key string

    Set the value of a hash field, only if the field does not exist * @param key Key string

    field

    Field name

    value

    New value

    handler

    Handler for the result of this call.

  217. def hsetnxFuture(key: String, field: String, value: String): Future[Long]

    Like hsetnx but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  218. def hstrlen(key: String, field: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Get the length of the value of a hash field.

    Get the length of the value of a hash field. * @param key Key String

    field

    field

  219. def hstrlenFuture(key: String, field: String): Future[Long]

    Like hstrlen but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  220. def hvals(key: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get all the values in a hash * @param key Key string

    Get all the values in a hash * @param key Key string

    handler

    Handler for the result of this call.

  221. def hvalsFuture(key: String): Future[JsonArray]

    Like hvals but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  222. def incr(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Increment the integer value of a key by one * @param key Key string

    Increment the integer value of a key by one * @param key Key string

    handler

    Handler for the result of this call.

  223. def incrFuture(key: String): Future[Long]

    Like incr but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  224. def incrby(key: String, increment: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Increment the integer value of a key by the given amount * @param key Key string

    Increment the integer value of a key by the given amount * @param key Key string

    increment

    Value by which to increment

    handler

    Handler for the result of this call.

  225. def incrbyFuture(key: String, increment: Long): Future[Long]

    Like incrby but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  226. def incrbyfloat(key: String, increment: Double, handler: Handler[AsyncResult[String]]): RedisClient

    Increment the float value of a key by the given amount * @param key Key string

    Increment the float value of a key by the given amount * @param key Key string

    increment

    Value by which to increment

    handler

    Handler for the result of this call.

  227. def incrbyfloatFuture(key: String, increment: Double): Future[String]

    Like incrbyfloat but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  228. def info(handler: Handler[AsyncResult[JsonObject]]): RedisClient

    Get information and statistics about the server * @param handler Handler for the result of this call.

  229. def infoFuture(): Future[JsonObject]

    Like info but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  230. def infoSection(section: String, handler: Handler[AsyncResult[JsonObject]]): RedisClient

    Get information and statistics about the server * @param section Specific section of information to return

    Get information and statistics about the server * @param section Specific section of information to return

    handler

    Handler for the result of this call.

  231. def infoSectionFuture(section: String): Future[JsonObject]

    Like infoSection but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  232. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  233. def keys(pattern: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Find all keys matching the given pattern * @param pattern Pattern to limit the keys returned

    Find all keys matching the given pattern * @param pattern Pattern to limit the keys returned

    handler

    Handler for the result of this call.

  234. def keysFuture(pattern: String): Future[JsonArray]

    Like keys but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  235. def lastsave(handler: Handler[AsyncResult[Long]]): RedisClient

    Get the UNIX time stamp of the last successful save to disk

  236. def lastsaveFuture(): Future[Long]

    Like lastsave but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  237. def lindex(key: String, index: Int, handler: Handler[AsyncResult[String]]): RedisClient

    Get an element from a list by its index * @param key Key string

    Get an element from a list by its index * @param key Key string

    index

    Index of list element to get

    handler

    Handler for the result of this call.

  238. def lindexFuture(key: String, index: Int): Future[String]

    Like lindex but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  239. def linsert(key: String, option: InsertOptions, pivot: String, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Insert an element before or after another element in a list * @param key Key string

    Insert an element before or after another element in a list * @param key Key string

    option

    BEFORE or AFTER

    pivot

    Key to use as a pivot

    value

    Value to be inserted before or after the pivot

    handler

    Handler for the result of this call.

  240. def linsertFuture(key: String, option: InsertOptions, pivot: String, value: String): Future[Long]

    Like linsert but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  241. def llen(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Get the length of a list * @param key String key

    Get the length of a list * @param key String key

    handler

    Handler for the result of this call.

  242. def llenFuture(key: String): Future[Long]

    Like llen but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  243. def lpop(key: String, handler: Handler[AsyncResult[Option[String]]]): RedisClient

    Remove and get the first element in a list * @param key String key

    Remove and get the first element in a list * @param key String key

    handler

    Handler for the result of this call.

  244. def lpopFuture(key: String): Future[Option[String]]

    Like lpop but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  245. def lpush(key: String, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Prepend one value to a list * @param key Key string

    Prepend one value to a list * @param key Key string

    value

    Value to be added at the beginning of the list

    handler

    Handler for the result of this call.

  246. def lpushFuture(key: String, value: String): Future[Long]

    Like lpush but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  247. def lpushMany(key: String, values: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Prepend one or multiple values to a list * @param key Key string

    Prepend one or multiple values to a list * @param key Key string

    values

    Values to be added at the beginning of the list, one by one

    handler

    Handler for the result of this call.

  248. def lpushManyFuture(key: String, values: Buffer[String]): Future[Long]

    Like lpushMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  249. def lpushx(key: String, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Prepend a value to a list, only if the list exists * @param key Key string

    Prepend a value to a list, only if the list exists * @param key Key string

    value

    Value to add at the beginning of the list

    handler

    Handler for the result of this call.

  250. def lpushxFuture(key: String, value: String): Future[Long]

    Like lpushx but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  251. def lrange(key: String, from: Long, to: Long, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get a range of elements from a list * @param key Key string

    Get a range of elements from a list * @param key Key string

    from

    Start index

    to

    Stop index

    handler

    Handler for the result of this call.

  252. def lrangeFuture(key: String, from: Long, to: Long): Future[JsonArray]

    Like lrange but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  253. def lrem(key: String, count: Long, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Remove elements from a list * @param key Key string

    Remove elements from a list * @param key Key string

    count

    Number of first found occurrences equal to $value to remove from the list

    value

    Value to be removed

    handler

    Handler for the result of this call.

  254. def lremFuture(key: String, count: Long, value: String): Future[Long]

    Like lrem but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  255. def lset(key: String, index: Long, value: String, handler: Handler[AsyncResult[String]]): RedisClient

    Set the value of an element in a list by its index * @param key Key string

    Set the value of an element in a list by its index * @param key Key string

    index

    Position within list

    value

    New value

    handler

    Handler for the result of this call.

  256. def lsetFuture(key: String, index: Long, value: String): Future[String]

    Like lset but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  257. def ltrim(key: String, from: Long, to: Long, handler: Handler[AsyncResult[String]]): RedisClient

    Trim a list to the specified range * @param key Key string

    Trim a list to the specified range * @param key Key string

    from

    Start index

    to

    Stop index

    handler

    Handler for the result of this call.

  258. def ltrimFuture(key: String, from: Long, to: Long): Future[String]

    Like ltrim but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  259. def mget(key: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get the value of the given key * @param key Key string

    Get the value of the given key * @param key Key string

    handler

    Handler for the result of this call.

  260. def mgetFuture(key: String): Future[JsonArray]

    Like mget but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  261. def mgetMany(keys: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get the values of all the given keys * @param keys List of keys to get

    Get the values of all the given keys * @param keys List of keys to get

    handler

    Handler for the result of this call.

  262. def mgetManyFuture(keys: Buffer[String]): Future[JsonArray]

    Like mgetMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  263. def migrate(host: String, port: Int, key: String, destdb: Int, timeout: Long, options: MigrateOptions, handler: Handler[AsyncResult[String]]): RedisClient

    Atomically transfer a key from a Redis instance to another one.

    Atomically transfer a key from a Redis instance to another one. * @param host Destination host

    port

    Destination port

    key

    Key to migrate

    destdb

    Destination database index

    options

    Migrate options see MigrateOptions

    handler

    Handler for the result of this call.

  264. def migrateFuture(host: String, port: Int, key: String, destdb: Int, timeout: Long, options: MigrateOptions): Future[String]

    Like migrate but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  265. def monitor(handler: Handler[AsyncResult[Unit]]): RedisClient

    Listen for all requests received by the server in real time

  266. def monitorFuture(): Future[Unit]

    Like monitor but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  267. def move(key: String, destdb: Int, handler: Handler[AsyncResult[Long]]): RedisClient

    Move a key to another database * @param key Key to migrate

    Move a key to another database * @param key Key to migrate

    destdb

    Destination database index

    handler

    Handler for the result of this call.

  268. def moveFuture(key: String, destdb: Int): Future[Long]

    Like move but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  269. def mset(keyvals: JsonObject, handler: Handler[AsyncResult[String]]): RedisClient

    Set multiple keys to multiple values * @param keyvals Key value pairs to set

    Set multiple keys to multiple values * @param keyvals Key value pairs to set

    handler

    Handler for the result of this call.

  270. def msetFuture(keyvals: JsonObject): Future[String]

    Like mset but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  271. def msetnx(keyvals: JsonObject, handler: Handler[AsyncResult[Long]]): RedisClient

    Set multiple keys to multiple values, only if none of the keys exist * @param keyvals Key value pairs to set

    Set multiple keys to multiple values, only if none of the keys exist * @param keyvals Key value pairs to set

    handler

    Handler for the result of this call.

  272. def msetnxFuture(keyvals: JsonObject): Future[Long]

    Like msetnx but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  273. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  274. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  275. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  276. def object(key: String, cmd: ObjectCmd, handler: Handler[AsyncResult[Unit]]): RedisClient

    Inspect the internals of Redis objects * @param key Key string

    Inspect the internals of Redis objects * @param key Key string

    cmd

    Object sub command

    handler

    Handler for the result of this call.

  277. def objectFuture(key: String, cmd: ObjectCmd): Future[Unit]

    Like object but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  278. def persist(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Remove the expiration from a key * @param key Key string

    Remove the expiration from a key * @param key Key string

    handler

    Handler for the result of this call.

  279. def persistFuture(key: String): Future[Long]

    Like persist but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  280. def pexpire(key: String, millis: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Set a key's time to live in milliseconds * @param key String key

    Set a key's time to live in milliseconds * @param key String key

    millis

    Time to live in milliseconds

    handler

    Handler for the result of this call.

  281. def pexpireFuture(key: String, millis: Long): Future[Long]

    Like pexpire but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  282. def pexpireat(key: String, millis: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Set the expiration for a key as a UNIX timestamp specified in milliseconds * @param key Key string

    Set the expiration for a key as a UNIX timestamp specified in milliseconds * @param key Key string

    millis

    Expiry time as Unix timestamp in milliseconds

    handler

    Handler for the result of this call.

  283. def pexpireatFuture(key: String, millis: Long): Future[Long]

    Like pexpireat but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  284. def pfadd(key: String, element: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Adds the specified element to the specified HyperLogLog.

    Adds the specified element to the specified HyperLogLog. * @param key Key string

    element

    Element to add

    handler

    Handler for the result of this call.

  285. def pfaddFuture(key: String, element: String): Future[Long]

    Like pfadd but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  286. def pfaddMany(key: String, elements: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Adds the specified elements to the specified HyperLogLog.

    Adds the specified elements to the specified HyperLogLog. * @param key Key string

    elements

    Elementa to add

    handler

    Handler for the result of this call.

  287. def pfaddManyFuture(key: String, elements: Buffer[String]): Future[Long]

    Like pfaddMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  288. def pfcount(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Return the approximated cardinality of the set observed by the HyperLogLog at key.

    Return the approximated cardinality of the set observed by the HyperLogLog at key. * @param key Key string

    handler

    Handler for the result of this call.

  289. def pfcountFuture(key: String): Future[Long]

    Like pfcount but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  290. def pfcountMany(keys: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).

    Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s). * @param keys List of keys

    handler

    Handler for the result of this call.

  291. def pfcountManyFuture(keys: Buffer[String]): Future[Long]

    Like pfcountMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  292. def pfmerge(destkey: String, keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisClient

    Merge N different HyperLogLogs into a single one.

    Merge N different HyperLogLogs into a single one. * @param destkey Destination key

    keys

    List of source keys

    handler

    Handler for the result of this call.

  293. def pfmergeFuture(destkey: String, keys: Buffer[String]): Future[String]

    Like pfmerge but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  294. def ping(handler: Handler[AsyncResult[String]]): RedisClient

    Ping the server

  295. def pingFuture(): Future[String]

    Like ping but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  296. def psetex(key: String, millis: Long, value: String, handler: Handler[AsyncResult[Unit]]): RedisClient

    Set the value and expiration in milliseconds of a key * @param key Key string

    Set the value and expiration in milliseconds of a key * @param key Key string

    millis

    Number of milliseconds until the key expires

    value

    New value for key

    handler

    Handler for the result of this call.

  297. def psetexFuture(key: String, millis: Long, value: String): Future[Unit]

    Like psetex but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  298. def psubscribe(pattern: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Listen for messages published to channels matching the given pattern * @param pattern Pattern string

    Listen for messages published to channels matching the given pattern * @param pattern Pattern string

    handler

    Handler for the result of this call.

  299. def psubscribeFuture(pattern: String): Future[JsonArray]

    Like psubscribe but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  300. def psubscribeMany(patterns: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Listen for messages published to channels matching the given patterns * @param patterns List of patterns

    Listen for messages published to channels matching the given patterns * @param patterns List of patterns

    handler

    Handler for the result of this call.

  301. def psubscribeManyFuture(patterns: Buffer[String]): Future[JsonArray]

    Like psubscribeMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  302. def pttl(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Get the time to live for a key in milliseconds * @param key Key string

    Get the time to live for a key in milliseconds * @param key Key string

    handler

    Handler for the result of this call.

  303. def pttlFuture(key: String): Future[Long]

    Like pttl but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  304. def publish(channel: String, message: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Post a message to a channel * @param channel Channel key

    Post a message to a channel * @param channel Channel key

    message

    Message to send to channel

    handler

    Handler for the result of this call.

  305. def publishFuture(channel: String, message: String): Future[Long]

    Like publish but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  306. def pubsubChannels(pattern: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Lists the currently active channels - only those matching the pattern * @param pattern A glob-style pattern - an empty string means no pattern

    Lists the currently active channels - only those matching the pattern * @param pattern A glob-style pattern - an empty string means no pattern

    handler

    Handler for the result of this call.

  307. def pubsubChannelsFuture(pattern: String): Future[JsonArray]

    Like pubsubChannels but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  308. def pubsubNumpat(handler: Handler[AsyncResult[Long]]): RedisClient

    Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command) * @param handler Handler for the result of this call.

  309. def pubsubNumpatFuture(): Future[Long]

    Like pubsubNumpat but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  310. def pubsubNumsub(channels: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels * @param channels List of channels

    Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels * @param channels List of channels

    handler

    Handler for the result of this call.

  311. def pubsubNumsubFuture(channels: Buffer[String]): Future[JsonArray]

    Like pubsubNumsub but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  312. def punsubscribe(patterns: Buffer[String], handler: Handler[AsyncResult[Unit]]): RedisClient

    Stop listening for messages posted to channels matching the given patterns * @param patterns List of patterns to match against

    Stop listening for messages posted to channels matching the given patterns * @param patterns List of patterns to match against

    handler

    Handler for the result of this call.

  313. def punsubscribeFuture(patterns: Buffer[String]): Future[Unit]

    Like punsubscribe but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  314. def randomkey(handler: Handler[AsyncResult[String]]): RedisClient

    Return a random key from the keyspace

  315. def randomkeyFuture(): Future[String]

    Like randomkey but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  316. def rename(key: String, newkey: String, handler: Handler[AsyncResult[String]]): RedisClient

    Rename a key * @param key Key string to be renamed

    Rename a key * @param key Key string to be renamed

    newkey

    New key string

    handler

    Handler for the result of this call.

  317. def renameFuture(key: String, newkey: String): Future[String]

    Like rename but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  318. def renamenx(key: String, newkey: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Rename a key, only if the new key does not exist * @param key Key string to be renamed

    Rename a key, only if the new key does not exist * @param key Key string to be renamed

    newkey

    New key string

    handler

    Handler for the result of this call.

  319. def renamenxFuture(key: String, newkey: String): Future[Long]

    Like renamenx but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  320. def restore(key: String, millis: Long, serialized: String, handler: Handler[AsyncResult[String]]): RedisClient

    Create a key using the provided serialized value, previously obtained using DUMP.

    Create a key using the provided serialized value, previously obtained using DUMP. * @param key Key string

    millis

    Expiry time in milliseconds to set on the key

    serialized

    Serialized form of the key value as obtained using DUMP

    handler

    Handler for the result of this call.

  321. def restoreFuture(key: String, millis: Long, serialized: String): Future[String]

    Like restore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  322. def role(handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return the role of the instance in the context of replication

  323. def roleFuture(): Future[JsonArray]

    Like role but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  324. def rpop(key: String, handler: Handler[AsyncResult[String]]): RedisClient

    Remove and get the last element in a list * @param key Key string

    Remove and get the last element in a list * @param key Key string

    handler

    Handler for the result of this call.

  325. def rpopFuture(key: String): Future[String]

    Like rpop but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  326. def rpoplpush(key: String, destkey: String, handler: Handler[AsyncResult[String]]): RedisClient

    Remove the last element in a list, append it to another list and return it * @param key Key string identifying source list

    Remove the last element in a list, append it to another list and return it * @param key Key string identifying source list

    destkey

    Key string identifying destination list

    handler

    Handler for the result of this call.

  327. def rpoplpushFuture(key: String, destkey: String): Future[String]

    Like rpoplpush but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  328. def rpush(key: String, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Append one or multiple values to a list * @param key Key string

    Append one or multiple values to a list * @param key Key string

    value

    Value to be added to the end of the list

    handler

    Handler for the result of this call.

  329. def rpushFuture(key: String, value: String): Future[Long]

    Like rpush but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  330. def rpushMany(key: String, values: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Append one or multiple values to a list * @param key Key string

    Append one or multiple values to a list * @param key Key string

    values

    List of values to add to the end of the list

    handler

    Handler for the result of this call.

  331. def rpushManyFuture(key: String, values: Buffer[String]): Future[Long]

    Like rpushMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  332. def rpushx(key: String, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Append a value to a list, only if the list exists * @param key Key string

    Append a value to a list, only if the list exists * @param key Key string

    value

    Value to be added to the end of the list

    handler

    Handler for the result of this call.

  333. def rpushxFuture(key: String, value: String): Future[Long]

    Like rpushx but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  334. def sadd(key: String, member: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Add a member to a set * @param key Key string

    Add a member to a set * @param key Key string

    member

    Value to be added to the set

    handler

    Handler for the result of this call.

  335. def saddFuture(key: String, member: String): Future[Long]

    Like sadd but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  336. def saddMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Add one or more members to a set * @param key Key string

    Add one or more members to a set * @param key Key string

    members

    Values to be added to the set

    handler

    Handler for the result of this call.

  337. def saddManyFuture(key: String, members: Buffer[String]): Future[Long]

    Like saddMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  338. def save(handler: Handler[AsyncResult[String]]): RedisClient

    Synchronously save the dataset to disk

  339. def saveFuture(): Future[String]

    Like save but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  340. def scan(cursor: String, options: ScanOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Incrementally iterate the keys space * @param cursor Cursor id

    Incrementally iterate the keys space * @param cursor Cursor id

    options

    Scan options see ScanOptions

    handler

    Handler for the result of this call.

  341. def scanFuture(cursor: String, options: ScanOptions): Future[JsonArray]

    Like scan but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  342. def scard(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Get the number of members in a set * @param key Key string

    Get the number of members in a set * @param key Key string

    handler

    Handler for the result of this call.

  343. def scardFuture(key: String): Future[Long]

    Like scard but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  344. def scriptDebug(scriptDebugOptions: ScriptDebugOptions, handler: Handler[AsyncResult[String]]): RedisClient

    Set the debug mode for executed scripts.

    Set the debug mode for executed scripts. * @param scriptDebugOptions the option

  345. def scriptDebugFuture(scriptDebugOptions: ScriptDebugOptions): Future[String]

    Like scriptDebug but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  346. def scriptExists(script: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Check existence of script in the script cache.

    Check existence of script in the script cache. * @param script SHA1 digest identifying a script in the script cache

    handler

    Handler for the result of this call.

  347. def scriptExistsFuture(script: String): Future[JsonArray]

    Like scriptExists but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  348. def scriptExistsMany(scripts: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Check existence of scripts in the script cache.

    Check existence of scripts in the script cache. * @param scripts List of SHA1 digests identifying scripts in the script cache

    handler

    Handler for the result of this call.

  349. def scriptExistsManyFuture(scripts: Buffer[String]): Future[JsonArray]

    Like scriptExistsMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  350. def scriptFlush(handler: Handler[AsyncResult[String]]): RedisClient

    Remove all the scripts from the script cache.

  351. def scriptFlushFuture(): Future[String]

    Like scriptFlush but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  352. def scriptKill(handler: Handler[AsyncResult[String]]): RedisClient

    Kill the script currently in execution.

  353. def scriptKillFuture(): Future[String]

    Like scriptKill but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  354. def scriptLoad(script: String, handler: Handler[AsyncResult[String]]): RedisClient

    Load the specified Lua script into the script cache.

    Load the specified Lua script into the script cache. * @param script Lua script

    handler

    Handler for the result of this call.

  355. def scriptLoadFuture(script: String): Future[String]

    Like scriptLoad but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  356. def sdiff(key: String, cmpkeys: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Subtract multiple sets * @param key Key identifying the set to compare with all other sets combined

    Subtract multiple sets * @param key Key identifying the set to compare with all other sets combined

    cmpkeys

    List of keys identifying sets to subtract from the key set

    handler

    Handler for the result of this call.

  357. def sdiffFuture(key: String, cmpkeys: Buffer[String]): Future[JsonArray]

    Like sdiff but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  358. def sdiffstore(destkey: String, key: String, cmpkeys: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Subtract multiple sets and store the resulting set in a key * @param destkey Destination key where the result should be stored

    Subtract multiple sets and store the resulting set in a key * @param destkey Destination key where the result should be stored

    key

    Key identifying the set to compare with all other sets combined

    cmpkeys

    List of keys identifying sets to subtract from the key set

    handler

    Handler for the result of this call.

  359. def sdiffstoreFuture(destkey: String, key: String, cmpkeys: Buffer[String]): Future[Long]

    Like sdiffstore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  360. def select(dbindex: Int, handler: Handler[AsyncResult[String]]): RedisClient

    Change the selected database for the current connection * @param dbindex Index identifying the new active database

    Change the selected database for the current connection * @param dbindex Index identifying the new active database

    handler

    Handler for the result of this call.

  361. def selectFuture(dbindex: Int): Future[String]

    Like select but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  362. def set(key: String, value: String, handler: Handler[AsyncResult[Unit]]): RedisClient

    Set the string value of a key * @param key Key of which value to set

    Set the string value of a key * @param key Key of which value to set

    value

    New value for the key

    handler

    Handler for the result of this call.

  363. def setBinary(key: String, value: Buffer, handler: Handler[AsyncResult[Unit]]): RedisClient

    Set the binary string value of a key - without encoding as utf-8 * @param key Key of which value to set

    Set the binary string value of a key - without encoding as utf-8 * @param key Key of which value to set

    value

    New value for the key

    handler

    Handler for the result of this call.

  364. def setBinaryFuture(key: String, value: Buffer): Future[Unit]

    Like setBinary but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  365. def setBinaryWithOptions(key: String, value: Buffer, options: SetOptions, handler: Handler[AsyncResult[Unit]]): RedisClient

    Set the string value of a key * @param key Key of which value to set

    Set the string value of a key * @param key Key of which value to set

    value

    New value for the key

    options

    Set options see SetOptions

    handler

    Handler for the result of this call.

  366. def setBinaryWithOptionsFuture(key: String, value: Buffer, options: SetOptions): Future[Unit]

    Like setBinaryWithOptions but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  367. def setFuture(key: String, value: String): Future[Unit]

    Like set but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  368. def setWithOptions(key: String, value: String, options: SetOptions, handler: Handler[AsyncResult[String]]): RedisClient

    Set the string value of a key * @param key Key of which value to set

    Set the string value of a key * @param key Key of which value to set

    value

    New value for the key

    options

    Set options see SetOptions

    handler

    Handler for the result of this call.

  369. def setWithOptionsFuture(key: String, value: String, options: SetOptions): Future[String]

    Like setWithOptions but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  370. def setbit(key: String, offset: Long, bit: Int, handler: Handler[AsyncResult[Long]]): RedisClient

    Sets or clears the bit at offset in the string value stored at key * @param key Key string

    Sets or clears the bit at offset in the string value stored at key * @param key Key string

    offset

    Bit offset

    bit

    New value - must be 1 or 0

    handler

    Handler for the result of this call.

  371. def setbitFuture(key: String, offset: Long, bit: Int): Future[Long]

    Like setbit but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  372. def setex(key: String, seconds: Long, value: String, handler: Handler[AsyncResult[String]]): RedisClient

    Set the value and expiration of a key * @param key Key string

    Set the value and expiration of a key * @param key Key string

    seconds

    Number of seconds until the key expires

    value

    New value for key

    handler

    Handler for the result of this call.

  373. def setexFuture(key: String, seconds: Long, value: String): Future[String]

    Like setex but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  374. def setnx(key: String, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Set the value of a key, only if the key does not exist * @param key Key of which value to set

    Set the value of a key, only if the key does not exist * @param key Key of which value to set

    value

    New value for the key

    handler

    Handler for the result of this call.

  375. def setnxFuture(key: String, value: String): Future[Long]

    Like setnx but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  376. def setrange(key: String, offset: Int, value: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Overwrite part of a string at key starting at the specified offset * @param key Key string

    Overwrite part of a string at key starting at the specified offset * @param key Key string

    offset

    Offset - the maximum offset that you can set is 2^29 -1 (536870911), as Redis Strings are limited to 512 megabytes

    value

    Value to overwrite with

    handler

    Handler for the result of this call.

  377. def setrangeFuture(key: String, offset: Int, value: String): Future[Long]

    Like setrange but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  378. def sinter(keys: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Intersect multiple sets * @param keys List of keys to perform intersection on

    Intersect multiple sets * @param keys List of keys to perform intersection on

    handler

    Handler for the result of this call.

  379. def sinterFuture(keys: Buffer[String]): Future[JsonArray]

    Like sinter but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  380. def sinterstore(destkey: String, keys: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Intersect multiple sets and store the resulting set in a key * @param destkey Key where to store the results

    Intersect multiple sets and store the resulting set in a key * @param destkey Key where to store the results

    keys

    List of keys to perform intersection on

    handler

    Handler for the result of this call.

  381. def sinterstoreFuture(destkey: String, keys: Buffer[String]): Future[Long]

    Like sinterstore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  382. def sismember(key: String, member: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Determine if a given value is a member of a set * @param key Key string

    Determine if a given value is a member of a set * @param key Key string

    member

    Member to look for

    handler

    Handler for the result of this call.

  383. def sismemberFuture(key: String, member: String): Future[Long]

    Like sismember but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  384. def slaveof(host: String, port: Int, handler: Handler[AsyncResult[String]]): RedisClient

    Make the server a slave of another instance * @param host Host to become this server's master

    Make the server a slave of another instance * @param host Host to become this server's master

    port

    Port of our new master

    handler

    Handler for the result of this call.

  385. def slaveofFuture(host: String, port: Int): Future[String]

    Like slaveof but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  386. def slaveofNoone(handler: Handler[AsyncResult[String]]): RedisClient

    Make this server a master * @param handler Handler for the result of this call.

  387. def slaveofNooneFuture(): Future[String]

    Like slaveofNoone but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  388. def slowlogGet(limit: Int, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Read the Redis slow queries log * @param limit Number of log entries to return.

    Read the Redis slow queries log * @param limit Number of log entries to return. If value is less than zero all entries are returned

    handler

    Handler for the result of this call.

  389. def slowlogGetFuture(limit: Int): Future[JsonArray]

    Like slowlogGet but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  390. def slowlogLen(handler: Handler[AsyncResult[Long]]): RedisClient

    Get the length of the Redis slow queries log * @param handler Handler for the result of this call.

  391. def slowlogLenFuture(): Future[Long]

    Like slowlogLen but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  392. def slowlogReset(handler: Handler[AsyncResult[Unit]]): RedisClient

    Reset the Redis slow queries log * @param handler Handler for the result of this call.

  393. def slowlogResetFuture(): Future[Unit]

    Like slowlogReset but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  394. def smembers(key: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get all the members in a set * @param key Key string

    Get all the members in a set * @param key Key string

    handler

    Handler for the result of this call.

  395. def smembersFuture(key: String): Future[JsonArray]

    Like smembers but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  396. def smove(key: String, destkey: String, member: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Move a member from one set to another * @param key Key of source set currently containing the member

    Move a member from one set to another * @param key Key of source set currently containing the member

    destkey

    Key identifying the destination set

    member

    Member to move

    handler

    Handler for the result of this call.

  397. def smoveFuture(key: String, destkey: String, member: String): Future[Long]

    Like smove but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  398. def sort(key: String, options: SortOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Sort the elements in a list, set or sorted set * @param key Key string

    Sort the elements in a list, set or sorted set * @param key Key string

    options

    Sort options see SortOptions

    handler

    Handler for the result of this call.

  399. def sortFuture(key: String, options: SortOptions): Future[JsonArray]

    Like sort but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  400. def spop(key: String, handler: Handler[AsyncResult[Option[String]]]): RedisClient

    Remove and return a random member from a set * @param key Key string

    Remove and return a random member from a set * @param key Key string

    handler

    Handler for the result of this call.

  401. def spopFuture(key: String): Future[Option[String]]

    Like spop but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  402. def spopMany(key: String, count: Int, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Remove and return random members from a set * @param key Key string

    Remove and return random members from a set * @param key Key string

    count

    Number of members to remove

    handler

    Handler for the result of this call.

  403. def spopManyFuture(key: String, count: Int): Future[JsonArray]

    Like spopMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  404. def srandmember(key: String, handler: Handler[AsyncResult[String]]): RedisClient

    Get one or multiple random members from a set * @param key Key string

    Get one or multiple random members from a set * @param key Key string

    handler

    Handler for the result of this call.

  405. def srandmemberCount(key: String, count: Int, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Get one or multiple random members from a set * @param key Key string

    Get one or multiple random members from a set * @param key Key string

    count

    Number of members to get

    handler

    Handler for the result of this call.

  406. def srandmemberCountFuture(key: String, count: Int): Future[JsonArray]

    Like srandmemberCount but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  407. def srandmemberFuture(key: String): Future[String]

    Like srandmember but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  408. def srem(key: String, member: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Remove one member from a set * @param key Key string

    Remove one member from a set * @param key Key string

    member

    Member to remove

    handler

    Handler for the result of this call.

  409. def sremFuture(key: String, member: String): Future[Long]

    Like srem but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  410. def sremMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Remove one or more members from a set * @param key Key string

    Remove one or more members from a set * @param key Key string

    members

    Members to remove

    handler

    Handler for the result of this call.

  411. def sremManyFuture(key: String, members: Buffer[String]): Future[Long]

    Like sremMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  412. def sscan(key: String, cursor: String, options: ScanOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Incrementally iterate Set elements * @param key Key string

    Incrementally iterate Set elements * @param key Key string

    cursor

    Cursor id

    options

    Scan options see ScanOptions

    handler

    Handler for the result of this call.

  413. def sscanFuture(key: String, cursor: String, options: ScanOptions): Future[JsonArray]

    Like sscan but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  414. def strlen(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Get the length of the value stored in a key * @param key Key string

    Get the length of the value stored in a key * @param key Key string

    handler

    Handler for the result of this call.

  415. def strlenFuture(key: String): Future[Long]

    Like strlen but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  416. def subscribe(channel: String, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Listen for messages published to the given channels * @param channel Channel to subscribe to

    Listen for messages published to the given channels * @param channel Channel to subscribe to

    handler

    Handler for the result of this call.

  417. def subscribeFuture(channel: String): Future[JsonArray]

    Like subscribe but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  418. def subscribeMany(channels: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Listen for messages published to the given channels * @param channels List of channels to subscribe to

    Listen for messages published to the given channels * @param channels List of channels to subscribe to

    handler

    Handler for the result of this call.

  419. def subscribeManyFuture(channels: Buffer[String]): Future[JsonArray]

    Like subscribeMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  420. def sunion(keys: Buffer[String], handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Add multiple sets * @param keys List of keys identifying sets to add up

    Add multiple sets * @param keys List of keys identifying sets to add up

    handler

    Handler for the result of this call.

  421. def sunionFuture(keys: Buffer[String]): Future[JsonArray]

    Like sunion but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  422. def sunionstore(destkey: String, keys: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Add multiple sets and store the resulting set in a key * @param destkey Destination key

    Add multiple sets and store the resulting set in a key * @param destkey Destination key

    keys

    List of keys identifying sets to add up

    handler

    Handler for the result of this call.

  423. def sunionstoreFuture(destkey: String, keys: Buffer[String]): Future[Long]

    Like sunionstore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  424. def swapdb(index1: Int, index2: Int, handler: Handler[AsyncResult[String]]): RedisClient

    Swaps two Redis databases * @param index1 index of first database to swap

    Swaps two Redis databases * @param index1 index of first database to swap

    index2

    index of second database to swap

    handler

    Handler for the result of this call.

  425. def swapdbFuture(index1: Int, index2: Int): Future[String]

    Like swapdb but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  426. def sync(handler: Handler[AsyncResult[Unit]]): RedisClient

    Internal command used for replication

  427. def syncFuture(): Future[Unit]

    Like sync but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  428. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  429. def time(handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return the current server time

  430. def timeFuture(): Future[JsonArray]

    Like time but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  431. def toString(): String
    Definition Classes
    AnyRef → Any
  432. def touch(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Alters the last access time of a key(s).

    Alters the last access time of a key(s). Returns the number of existing keys specified. * @param key Key String

  433. def touchFuture(key: String): Future[Long]

    Like touch but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  434. def touchMany(keys: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Alters the last access time of a key(s).

    Alters the last access time of a key(s). Returns the number of existing keys specified. * @param keys list of keys

  435. def touchManyFuture(keys: Buffer[String]): Future[Long]

    Like touchMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  436. def transaction(): RedisTransaction

    Return a RedisTransaction instance * @return transaction instance

  437. def ttl(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Get the time to live for a key * @param key Key string

    Get the time to live for a key * @param key Key string

    handler

    Handler for the result of this call.

  438. def ttlFuture(key: String): Future[Long]

    Like ttl but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  439. def type(key: String, handler: Handler[AsyncResult[String]]): RedisClient

    Determine the type stored at key * @param key Key string

    Determine the type stored at key * @param key Key string

    handler

    Handler for the result of this call.

  440. def typeFuture(key: String): Future[String]

    Like type but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  441. def unlink(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Delete a key asynchronously in another thread.

    Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking. * @param key Key to delete

    handler

    Handler for the result of this call.

  442. def unlinkFuture(key: String): Future[Long]

    Like unlink but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  443. def unlinkMany(keys: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Delete multiple keys asynchronously in another thread.

    Delete multiple keys asynchronously in another thread. Otherwise it is just as DEL, but non blocking. * @param keys List of keys to delete

    handler

    Handler for the result of this call.

  444. def unlinkManyFuture(keys: Buffer[String]): Future[Long]

    Like unlinkMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  445. def unsubscribe(channels: Buffer[String], handler: Handler[AsyncResult[Unit]]): RedisClient

    Stop listening for messages posted to the given channels * @param channels List of channels to subscribe to

    Stop listening for messages posted to the given channels * @param channels List of channels to subscribe to

    handler

    Handler for the result of this call.

  446. def unsubscribeFuture(channels: Buffer[String]): Future[Unit]

    Like unsubscribe but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  447. def wait(numSlaves: Long, timeout: Long, handler: Handler[AsyncResult[String]]): RedisClient

    Wait for the synchronous replication of all the write commands sent in the context of the current connection.

    Wait for the synchronous replication of all the write commands sent in the context of the current connection. * @param handler Handler for the result of this call.

  448. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  449. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  450. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  451. def waitFuture(numSlaves: Long, timeout: Long): Future[String]

    Like wait but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  452. def zadd(key: String, score: Double, member: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Add one or more members to a sorted set, or update its score if it already exists * @param key Key string

    Add one or more members to a sorted set, or update its score if it already exists * @param key Key string

    score

    Score used for sorting

    member

    New member key

    handler

    Handler for the result of this call.

  453. def zaddFuture(key: String, score: Double, member: String): Future[Long]

    Like zadd but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  454. def zaddMany(key: String, members: Map[String, Double], handler: Handler[AsyncResult[Long]]): RedisClient

    Add one or more members to a sorted set, or update its score if it already exists * @param key Key string

    Add one or more members to a sorted set, or update its score if it already exists * @param key Key string

    members

    New member keys and their scores

    handler

    Handler for the result of this call.

  455. def zaddManyFuture(key: String, members: Map[String, Double]): Future[Long]

    Like zaddMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  456. def zcard(key: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Get the number of members in a sorted set * @param key Key string

    Get the number of members in a sorted set * @param key Key string

    handler

    Handler for the result of this call.

  457. def zcardFuture(key: String): Future[Long]

    Like zcard but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  458. def zcount(key: String, min: Double, max: Double, handler: Handler[AsyncResult[Long]]): RedisClient

    Count the members in a sorted set with scores within the given values * @param key Key string

    Count the members in a sorted set with scores within the given values * @param key Key string

    min

    Minimum score

    max

    Maximum score

    handler

    Handler for the result of this call.

  459. def zcountFuture(key: String, min: Double, max: Double): Future[Long]

    Like zcount but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  460. def zincrby(key: String, increment: Double, member: String, handler: Handler[AsyncResult[String]]): RedisClient

    Increment the score of a member in a sorted set * @param key Key string

    Increment the score of a member in a sorted set * @param key Key string

    increment

    Increment amount

    member

    Member key

    handler

    Handler for the result of this call.

  461. def zincrbyFuture(key: String, increment: Double, member: String): Future[String]

    Like zincrby but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  462. def zinterstore(destkey: String, sets: Buffer[String], options: AggregateOptions, handler: Handler[AsyncResult[Long]]): RedisClient

    Intersect multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key

    Intersect multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key

    sets

    List of keys identifying sorted sets to intersect

    options

    Aggregation options

    handler

    Handler for the result of this call.

  463. def zinterstoreFuture(destkey: String, sets: Buffer[String], options: AggregateOptions): Future[Long]

    Like zinterstore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  464. def zinterstoreWeighed(destkey: String, sets: Map[String, Double], options: AggregateOptions, handler: Handler[AsyncResult[Long]]): RedisClient

    Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring * @param destkey Destination key

    Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring * @param destkey Destination key

    sets

    List of keys identifying sorted sets to intersect

    options

    Aggregation options

    handler

    Handler for the result of this call.

  465. def zinterstoreWeighedFuture(destkey: String, sets: Map[String, Double], options: AggregateOptions): Future[Long]

    Like zinterstoreWeighed but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  466. def zlexcount(key: String, min: String, max: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Count the number of members in a sorted set between a given lexicographical range * @param key Key string

    Count the number of members in a sorted set between a given lexicographical range * @param key Key string

    min

    Pattern to compare against for minimum value

    max

    Pattern to compare against for maximum value

    handler

    Handler for the result of this call.

  467. def zlexcountFuture(key: String, min: String, max: String): Future[Long]

    Like zlexcount but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  468. def zrange(key: String, start: Long, stop: Long, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return a range of members in a sorted set, by index * @param key Key string

    Return a range of members in a sorted set, by index * @param key Key string

    start

    Start index for the range

    stop

    Stop index for the range - inclusive

    handler

    Handler for the result of this call.

  469. def zrangeFuture(key: String, start: Long, stop: Long): Future[JsonArray]

    Like zrange but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  470. def zrangeWithOptions(key: String, start: Long, stop: Long, options: RangeOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return a range of members in a sorted set, by index * @param key Key string

    Return a range of members in a sorted set, by index * @param key Key string

    start

    Start index for the range

    stop

    Stop index for the range - inclusive

    options

    Range options

    handler

    Handler for the result of this call.

  471. def zrangeWithOptionsFuture(key: String, start: Long, stop: Long, options: RangeOptions): Future[JsonArray]

    Like zrangeWithOptions but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  472. def zrangebylex(key: String, min: String, max: String, options: LimitOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return a range of members in a sorted set, by lexicographical range * @param key Key string

    Return a range of members in a sorted set, by lexicographical range * @param key Key string

    min

    Pattern representing a minimum allowed value

    max

    Pattern representing a maximum allowed value

    options

    Limit options where limit can be specified see LimitOptions

    handler

    Handler for the result of this call.

  473. def zrangebylexFuture(key: String, min: String, max: String, options: LimitOptions): Future[JsonArray]

    Like zrangebylex but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  474. def zrangebyscore(key: String, min: String, max: String, options: RangeLimitOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return a range of members in a sorted set, by score * @param key Key string

    Return a range of members in a sorted set, by score * @param key Key string

    min

    Pattern defining a minimum value

    max

    Pattern defining a maximum value

    options

    Range and limit options see RangeLimitOptions

    handler

    Handler for the result of this call.

  475. def zrangebyscoreFuture(key: String, min: String, max: String, options: RangeLimitOptions): Future[JsonArray]

    Like zrangebyscore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  476. def zrank(key: String, member: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Determine the index of a member in a sorted set * @param key Key string

    Determine the index of a member in a sorted set * @param key Key string

    member

    Member in the sorted set identified by key

    handler

    Handler for the result of this call.

  477. def zrankFuture(key: String, member: String): Future[Long]

    Like zrank but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  478. def zrem(key: String, member: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Remove one member from a sorted set * @param key Key string

    Remove one member from a sorted set * @param key Key string

    member

    Member in the sorted set identified by key

    handler

    Handler for the result of this call.

  479. def zremFuture(key: String, member: String): Future[Long]

    Like zrem but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  480. def zremMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[Long]]): RedisClient

    Remove one or more members from a sorted set * @param key Key string

    Remove one or more members from a sorted set * @param key Key string

    members

    Members in the sorted set identified by key

    handler

    Handler for the result of this call.

  481. def zremManyFuture(key: String, members: Buffer[String]): Future[Long]

    Like zremMany but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  482. def zremrangebylex(key: String, min: String, max: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Remove all members in a sorted set between the given lexicographical range * @param key Key string

    Remove all members in a sorted set between the given lexicographical range * @param key Key string

    min

    Pattern defining a minimum value

    max

    Pattern defining a maximum value

    handler

    Handler for the result of this call.

  483. def zremrangebylexFuture(key: String, min: String, max: String): Future[Long]

    Like zremrangebylex but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  484. def zremrangebyrank(key: String, start: Long, stop: Long, handler: Handler[AsyncResult[Long]]): RedisClient

    Remove all members in a sorted set within the given indexes * @param key Key string

    Remove all members in a sorted set within the given indexes * @param key Key string

    start

    Start index

    stop

    Stop index

    handler

    Handler for the result of this call.

  485. def zremrangebyrankFuture(key: String, start: Long, stop: Long): Future[Long]

    Like zremrangebyrank but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  486. def zremrangebyscore(key: String, min: String, max: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Remove all members in a sorted set within the given scores * @param key Key string

    Remove all members in a sorted set within the given scores * @param key Key string

    min

    Pattern defining a minimum value

    max

    Pattern defining a maximum value

  487. def zremrangebyscoreFuture(key: String, min: String, max: String): Future[Long]

    Like zremrangebyscore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  488. def zrevrange(key: String, start: Long, stop: Long, options: RangeOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return a range of members in a sorted set, by index, with scores ordered from high to low * @param key Key string

    Return a range of members in a sorted set, by index, with scores ordered from high to low * @param key Key string

    start

    Start index for the range

    stop

    Stop index for the range - inclusive

    options

    Range options

    handler

    Handler for the result of this call.

  489. def zrevrangeFuture(key: String, start: Long, stop: Long, options: RangeOptions): Future[JsonArray]

    Like zrevrange but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  490. def zrevrangebylex(key: String, max: String, min: String, options: LimitOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low * @param key Key string

    Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low * @param key Key string

    max

    Pattern defining a maximum value

    min

    Pattern defining a minimum value

    options

    Limit options see LimitOptions

    handler

    Handler for the result of this call.

  491. def zrevrangebylexFuture(key: String, max: String, min: String, options: LimitOptions): Future[JsonArray]

    Like zrevrangebylex but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  492. def zrevrangebyscore(key: String, max: String, min: String, options: RangeLimitOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Return a range of members in a sorted set, by score, with scores ordered from high to low * @param key Key string

    Return a range of members in a sorted set, by score, with scores ordered from high to low * @param key Key string

    max

    Pattern defining a maximum value

    min

    Pattern defining a minimum value

    options

    Range and limit options see RangeLimitOptions

    handler

    Handler for the result of this call.

  493. def zrevrangebyscoreFuture(key: String, max: String, min: String, options: RangeLimitOptions): Future[JsonArray]

    Like zrevrangebyscore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  494. def zrevrank(key: String, member: String, handler: Handler[AsyncResult[Long]]): RedisClient

    Determine the index of a member in a sorted set, with scores ordered from high to low * @param key Key string

    Determine the index of a member in a sorted set, with scores ordered from high to low * @param key Key string

    member

    Member in the sorted set identified by key

    handler

    Handler for the result of this call.

  495. def zrevrankFuture(key: String, member: String): Future[Long]

    Like zrevrank but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  496. def zscan(key: String, cursor: String, options: ScanOptions, handler: Handler[AsyncResult[JsonArray]]): RedisClient

    Incrementally iterate sorted sets elements and associated scores * @param key Key string

    Incrementally iterate sorted sets elements and associated scores * @param key Key string

    cursor

    Cursor id

    options

    Scan options see ScanOptions

    handler

    Handler for the result of this call.

  497. def zscanFuture(key: String, cursor: String, options: ScanOptions): Future[JsonArray]

    Like zscan but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  498. def zscore(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisClient

    Get the score associated with the given member in a sorted set * @param key Key string

    Get the score associated with the given member in a sorted set * @param key Key string

    member

    Member in the sorted set identified by key

    handler

    Handler for the result of this call.

  499. def zscoreFuture(key: String, member: String): Future[String]

    Like zscore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  500. def zunionstore(destkey: String, sets: Buffer[String], options: AggregateOptions, handler: Handler[AsyncResult[Long]]): RedisClient

    Add multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key

    Add multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key

    sets

    List of keys identifying sorted sets

    options

    Aggregation options

    handler

    Handler for the result of this call.

  501. def zunionstoreFuture(destkey: String, sets: Buffer[String], options: AggregateOptions): Future[Long]

    Like zunionstore but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  502. def zunionstoreWeighed(key: String, sets: Map[String, Double], options: AggregateOptions, handler: Handler[AsyncResult[Long]]): RedisClient

    Add multiple sorted sets using weights, and store the resulting sorted set in a new key * @param key Destination key

    Add multiple sorted sets using weights, and store the resulting sorted set in a new key * @param key Destination key

    sets

    Map containing set-key:weight pairs

    options

    Aggregation options

    handler

    Handler for the result of this call.

  503. def zunionstoreWeighedFuture(key: String, sets: Map[String, Double], options: AggregateOptions): Future[Long]

    Like zunionstoreWeighed but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

Inherited from AnyRef

Inherited from Any

Ungrouped