Packages

class RedisTransaction extends AnyRef

This Interface represents a TX

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

Instance Constructors

  1. new RedisTransaction(_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[String]]): RedisTransaction

    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[String]

    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]]): RedisTransaction

    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]]): RedisTransaction

    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]]): RedisTransaction

    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[String]]): RedisTransaction

    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[String]

    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[String]]): RedisTransaction

    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[String]

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

  18. def bitop(operation: BitOperation, destkey: String, keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  20. def bitpos(key: String, bit: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  21. def bitposFrom(key: String, bit: Int, start: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

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

  24. def bitposRange(key: String, bit: Int, start: Int, stop: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  26. def blpop(key: String, seconds: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  28. def blpopMany(keys: Buffer[String], seconds: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  30. def brpop(key: String, seconds: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  32. def brpopMany(keys: Buffer[String], seconds: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

    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.

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

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

  36. def clientGetname(handler: Handler[AsyncResult[String]]): RedisTransaction

    Get the current connection name

  37. def clientGetnameFuture(): Future[String]

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

  38. def clientKill(filter: KillFilter, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  39. def clientKillFuture(filter: KillFilter): Future[String]

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

  40. def clientList(handler: Handler[AsyncResult[String]]): RedisTransaction

    Get the list of client connections

  41. def clientListFuture(): Future[String]

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

  42. def clientPause(millis: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  44. def clientSetname(name: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

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

  48. def closeFuture(): Future[Unit]

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

  49. def clusterAddslots(slots: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    Assign new hash slots to receiving node.

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

  50. def clusterAddslotsFuture(slots: Buffer[String]): Future[String]

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

  51. def clusterCountFailureReports(nodeId: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  52. def clusterCountFailureReportsFuture(nodeId: String): Future[String]

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

  53. def clusterCountkeysinslot(slot: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  54. def clusterCountkeysinslotFuture(slot: Long): Future[String]

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

  55. def clusterDelslots(slot: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  56. def clusterDelslotsFuture(slot: Long): Future[String]

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

  57. def clusterDelslotsMany(slots: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  58. def clusterDelslotsManyFuture(slots: Buffer[String]): Future[String]

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

  59. def clusterFailOverWithOptions(options: FailoverOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  60. def clusterFailOverWithOptionsFuture(options: FailoverOptions): Future[String]

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

  61. def clusterFailover(handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  62. def clusterFailoverFuture(): Future[String]

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

  63. def clusterForget(nodeId: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    Remove a node from the nodes table.

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

  64. def clusterForgetFuture(nodeId: String): Future[String]

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

  65. def clusterGetkeysinslot(slot: Long, count: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  66. def clusterGetkeysinslotFuture(slot: Long, count: Long): Future[String]

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

  67. def clusterInfo(handler: Handler[AsyncResult[String]]): RedisTransaction

    Provides info about Redis Cluster node state.

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

  68. def clusterInfoFuture(): Future[String]

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

  69. def clusterKeyslot(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  70. def clusterKeyslotFuture(key: String): Future[String]

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

  71. def clusterMeet(ip: String, port: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  73. def clusterNodes(handler: Handler[AsyncResult[String]]): RedisTransaction

    Get Cluster config for the node.

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

  74. def clusterNodesFuture(): Future[String]

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

  75. def clusterReplicate(nodeId: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  76. def clusterReplicateFuture(nodeId: String): Future[String]

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

  77. def clusterReset(handler: Handler[AsyncResult[String]]): RedisTransaction

    Reset a Redis Cluster node.

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

  78. def clusterResetFuture(): Future[String]

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

  79. def clusterResetWithOptions(options: ResetOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    Reset a Redis Cluster node.

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

  80. def clusterResetWithOptionsFuture(options: ResetOptions): Future[String]

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

  81. def clusterSaveconfig(handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  82. def clusterSaveconfigFuture(): Future[String]

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

  83. def clusterSetConfigEpoch(epoch: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  84. def clusterSetConfigEpochFuture(epoch: Long): Future[String]

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

  85. def clusterSetslot(slot: Long, subcommand: SlotCmd, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  86. def clusterSetslotFuture(slot: Long, subcommand: SlotCmd): Future[String]

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

  87. def clusterSetslotWithNode(slot: Long, subcommand: SlotCmd, nodeId: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  89. def clusterSlaves(nodeId: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  90. def clusterSlavesFuture(nodeId: String): Future[String]

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

  91. def clusterSlots(handler: Handler[AsyncResult[String]]): RedisTransaction

    Get array of Cluster slot to node mappings

  92. def clusterSlotsFuture(): Future[String]

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

  93. def command(handler: Handler[AsyncResult[String]]): RedisTransaction

    Get array of Redis command details

  94. def commandCount(handler: Handler[AsyncResult[String]]): RedisTransaction

    Get total number of Redis commands

  95. def commandCountFuture(): Future[String]

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

  96. def commandFuture(): Future[String]

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

  97. def commandGetkeys(handler: Handler[AsyncResult[String]]): RedisTransaction

    Extract keys given a full Redis command

  98. def commandGetkeysFuture(): Future[String]

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

  99. def commandInfo(commands: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  101. def configGet(parameter: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  102. def configGetFuture(parameter: String): Future[String]

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

  103. def configResetstat(handler: Handler[AsyncResult[String]]): RedisTransaction

    Reset the stats returned by INFO

  104. def configResetstatFuture(): Future[String]

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

  105. def configRewrite(handler: Handler[AsyncResult[String]]): RedisTransaction

    Rewrite the configuration file with the in memory configuration

  106. def configRewriteFuture(): Future[String]

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

  107. def configSet(parameter: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  109. def dbsize(handler: Handler[AsyncResult[String]]): RedisTransaction

    Return the number of keys in the selected database

  110. def dbsizeFuture(): Future[String]

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

  111. def debugObject(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  113. def debugSegfault(handler: Handler[AsyncResult[String]]): RedisTransaction

    Make the server crash

  114. def debugSegfaultFuture(): Future[String]

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

  115. def decr(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  116. def decrFuture(key: String): Future[String]

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

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

    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.

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

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

  119. def del(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    Delete a key * @param key Keys to delete

    Delete a key * @param key Keys to delete

    handler

    Handler for the result of this call.

  120. def delFuture(key: String): Future[String]

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

  121. def delMany(keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  123. def discard(handler: Handler[AsyncResult[String]]): RedisTransaction

    Discard all commands issued after MULTI

  124. def discardFuture(): Future[String]

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

  125. def dump(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  127. def echo(message: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  129. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  130. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  131. def eval(script: String, keys: Buffer[String], args: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  133. def evalsha(sha1: String, keys: Buffer[String], values: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  135. def exec(handler: Handler[AsyncResult[JsonArray]]): RedisTransaction

    Execute all commands issued after MULTI

  136. def execFuture(): Future[JsonArray]

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

  137. def exists(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  138. def existsFuture(key: String): Future[String]

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

  139. def existsMany(keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  141. def expire(key: String, seconds: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  142. def expireFuture(key: String, seconds: Int): Future[String]

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

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

    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.

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

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

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

    Remove all keys from all databases

  147. def flushallFuture(): Future[String]

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

  148. def flushdb(handler: Handler[AsyncResult[String]]): RedisTransaction

    Remove all keys from the current database

  149. def flushdbFuture(): Future[String]

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

  150. def geoadd(key: String, longitude: Double, latitude: Double, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  152. def geoaddMany(key: String, members: Buffer[GeoMember], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

    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.

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

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

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

    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.

  157. 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.

  158. def geohash(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  160. def geohashMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  162. def geopos(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  164. def geoposMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

    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.

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

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

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

    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.

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

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

  170. def georadiusbymember(key: String, member: String, radius: Double, unit: GeoUnit, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

    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.

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

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

  174. def get(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  175. def getBinary(key: String, handler: Handler[AsyncResult[Buffer]]): RedisTransaction

    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.

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

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

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

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

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

    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.

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

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

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

    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.

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

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

  183. def getset(key: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  185. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  186. def hdel(key: String, field: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  188. def hdelMany(key: String, fields: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  190. def hexists(key: String, field: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  192. def hget(key: String, field: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  194. def hgetall(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  195. def hgetallFuture(key: String): Future[String]

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

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

    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.

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

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

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

    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.

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

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

  200. def hkeys(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  201. def hkeysFuture(key: String): Future[String]

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

  202. def hlen(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  203. def hlenFuture(key: String): Future[String]

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

  204. def hmget(key: String, fields: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

    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.

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

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

  208. def hscan(key: String, cursor: String, options: ScanOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  210. def hset(key: String, field: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  212. def hsetnx(key: String, field: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  214. def hvals(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  215. def hvalsFuture(key: String): Future[String]

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

  216. def incr(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  217. def incrFuture(key: String): Future[String]

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

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

    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.

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

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

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

    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.

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

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

  222. def info(handler: Handler[AsyncResult[String]]): RedisTransaction

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

  223. def infoFuture(): Future[String]

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

  224. def infoSection(section: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  225. def infoSectionFuture(section: String): Future[String]

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

  226. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  227. def keys(pattern: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  228. def keysFuture(pattern: String): Future[String]

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

  229. def lastsave(handler: Handler[AsyncResult[String]]): RedisTransaction

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

  230. def lastsaveFuture(): Future[String]

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

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

    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.

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

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

  233. def linsert(key: String, option: InsertOptions, pivot: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  235. def llen(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  236. def llenFuture(key: String): Future[String]

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

  237. def lpop(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  238. def lpopFuture(key: String): Future[String]

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

  239. def lpush(key: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  241. def lpushMany(key: String, values: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  243. def lpushx(key: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  245. def lrange(key: String, from: Long, to: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

    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.

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

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

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

    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.

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

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

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

    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.

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

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

  253. def mget(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  254. def mgetFuture(key: String): Future[String]

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

  255. def mgetMany(keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

    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.

  258. 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.

  259. def monitor(handler: Handler[AsyncResult[String]]): RedisTransaction

    Listen for all requests received by the server in real time

  260. def monitorFuture(): Future[String]

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

  261. def move(key: String, destdb: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  263. def mset(keyvals: JsonObject, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  265. def msetnx(keyvals: JsonObject, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  266. def msetnxFuture(keyvals: JsonObject): Future[String]

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

  267. def multi(handler: Handler[AsyncResult[String]]): RedisTransaction

    Mark the start of a RedisTransaction block

  268. def multiFuture(): Future[String]

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

  269. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  270. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  271. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  272. def object(key: String, cmd: ObjectCmd, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  274. def persist(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  275. def persistFuture(key: String): Future[String]

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

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

    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.

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

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

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

    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.

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

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

  280. def pfadd(key: String, element: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  282. def pfaddMany(key: String, elements: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  284. def pfcount(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  285. def pfcountFuture(key: String): Future[String]

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

  286. def pfcountMany(keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

    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.

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

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

  290. def ping(handler: Handler[AsyncResult[String]]): RedisTransaction

    Ping the server

  291. def pingFuture(): Future[String]

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

  292. def psetex(key: String, millis: Long, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  294. def psubscribe(pattern: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  295. def psubscribeFuture(pattern: String): Future[String]

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

  296. def psubscribeMany(patterns: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  298. def pttl(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  299. def pttlFuture(key: String): Future[String]

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

  300. def publish(channel: String, message: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  302. def pubsubChannels(pattern: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  303. def pubsubChannelsFuture(pattern: String): Future[String]

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

  304. def pubsubNumpat(handler: Handler[AsyncResult[String]]): RedisTransaction

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

  305. def pubsubNumpatFuture(): Future[String]

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

  306. def pubsubNumsub(channels: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  308. def punsubscribe(patterns: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  310. def randomkey(handler: Handler[AsyncResult[String]]): RedisTransaction

    Return a random key from the keyspace

  311. def randomkeyFuture(): Future[String]

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

  312. def rename(key: String, newkey: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  314. def renamenx(key: String, newkey: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

    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.

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

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

  318. def role(handler: Handler[AsyncResult[String]]): RedisTransaction

    Return the role of the instance in the context of replication

  319. def roleFuture(): Future[String]

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

  320. def rpop(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  322. def rpoplpush(key: String, destkey: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  324. def rpush(key: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  326. def rpushMany(key: String, values: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  328. def rpushx(key: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  330. def sadd(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  332. def saddMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  334. def save(handler: Handler[AsyncResult[String]]): RedisTransaction

    Synchronously save the dataset to disk

  335. def saveFuture(): Future[String]

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

  336. def scan(cursor: String, options: ScanOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  338. def scard(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  339. def scardFuture(key: String): Future[String]

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

  340. def scriptExists(script: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  341. def scriptExistsFuture(script: String): Future[String]

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

  342. def scriptExistsMany(scripts: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  344. def scriptFlush(handler: Handler[AsyncResult[String]]): RedisTransaction

    Remove all the scripts from the script cache.

  345. def scriptFlushFuture(): Future[String]

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

  346. def scriptKill(handler: Handler[AsyncResult[String]]): RedisTransaction

    Kill the script currently in execution.

  347. def scriptKillFuture(): Future[String]

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

  348. def scriptLoad(script: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  350. def sdiff(key: String, cmpkeys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  352. def sdiffstore(destkey: String, key: String, cmpkeys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  354. def select(dbindex: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  356. def set(key: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  357. def setBinary(key: String, value: Buffer, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  359. def setBinaryWithOptions(key: String, value: Buffer, options: SetOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

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

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

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

    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.

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

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

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

    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.

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

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

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

    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.

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

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

  368. def setnx(key: String, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  370. def setrange(key: String, offset: Int, value: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  372. def sinter(keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

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

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

  374. def sinterstore(destkey: String, keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  375. def sinterstoreFuture(destkey: String, keys: Buffer[String]): Future[String]

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

  376. def sismember(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  377. def sismemberFuture(key: String, member: String): Future[String]

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

  378. def slaveof(host: String, port: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  379. def slaveofFuture(host: String, port: Int): Future[String]

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

  380. def slaveofNoone(handler: Handler[AsyncResult[String]]): RedisTransaction

    Make this server a master * @param handler Handler for the result of this call.

  381. def slaveofNooneFuture(): Future[String]

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

  382. def slowlogGet(limit: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  383. def slowlogGetFuture(limit: Int): Future[String]

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

  384. def slowlogLen(handler: Handler[AsyncResult[String]]): RedisTransaction

    Get the length of the Redis slow queries log * @param handler Handler for the result of this call.

  385. def slowlogLenFuture(): Future[String]

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

  386. def slowlogReset(handler: Handler[AsyncResult[String]]): RedisTransaction

    Reset the Redis slow queries log * @param handler Handler for the result of this call.

  387. def slowlogResetFuture(): Future[String]

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

  388. def smembers(key: String, handler: Handler[AsyncResult[JsonArray]]): RedisTransaction

    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.

  389. def smembersFuture(key: String): Future[JsonArray]

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

  390. def smove(key: String, destkey: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  391. def smoveFuture(key: String, destkey: String, member: String): Future[String]

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

  392. def sort(key: String, options: SortOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  393. def sortFuture(key: String, options: SortOptions): Future[String]

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

  394. def spop(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  395. def spopFuture(key: String): Future[String]

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

  396. def spopMany(key: String, count: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  397. def spopManyFuture(key: String, count: Int): Future[String]

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

  398. def srandmember(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  399. def srandmemberCount(key: String, count: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  400. def srandmemberCountFuture(key: String, count: Int): Future[String]

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

  401. def srandmemberFuture(key: String): Future[String]

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

  402. def srem(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  403. def sremFuture(key: String, member: String): Future[String]

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

  404. def sremMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  405. def sremManyFuture(key: String, members: Buffer[String]): Future[String]

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

  406. def sscan(key: String, cursor: String, options: ScanOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  407. def sscanFuture(key: String, cursor: String, options: ScanOptions): Future[String]

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

  408. def strlen(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  409. def strlenFuture(key: String): Future[String]

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

  410. def subscribe(channel: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  411. def subscribeFuture(channel: String): Future[String]

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

  412. def subscribeMany(channels: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  413. def subscribeManyFuture(channels: Buffer[String]): Future[String]

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

  414. def sunion(keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  415. def sunionFuture(keys: Buffer[String]): Future[String]

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

  416. def sunionstore(destkey: String, keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  417. def sunionstoreFuture(destkey: String, keys: Buffer[String]): Future[String]

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

  418. def swapdb(index1: Int, index2: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  419. def swapdbFuture(index1: Int, index2: Int): Future[String]

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

  420. def sync(handler: Handler[AsyncResult[String]]): RedisTransaction

    Internal command used for replication

  421. def syncFuture(): Future[String]

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

  422. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  423. def time(handler: Handler[AsyncResult[String]]): RedisTransaction

    Return the current server time

  424. def timeFuture(): Future[String]

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

  425. def toString(): String
    Definition Classes
    AnyRef → Any
  426. def ttl(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  427. def ttlFuture(key: String): Future[String]

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

  428. def type(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  429. def typeFuture(key: String): Future[String]

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

  430. def unlink(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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 string

  431. def unlinkFuture(key: String): Future[String]

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

  432. def unlinkMany(keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  433. def unlinkManyFuture(keys: Buffer[String]): Future[String]

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

  434. def unsubscribe(channels: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  435. def unsubscribeFuture(channels: Buffer[String]): Future[String]

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

  436. def unwatch(handler: Handler[AsyncResult[String]]): RedisTransaction

    Forget about all watched keys

  437. def unwatchFuture(): Future[String]

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

  438. def wait(numSlaves: Long, timeout: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  439. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  440. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  441. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  442. def waitFuture(numSlaves: Long, timeout: Long): Future[String]

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

  443. def watch(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    Watch the given keys to determine execution of the MULTI/EXEC block * @param key Key to watch

    Watch the given keys to determine execution of the MULTI/EXEC block * @param key Key to watch

    handler

    Handler for the result of this call.

  444. def watchFuture(key: String): Future[String]

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

  445. def watchMany(keys: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    Watch the given keys to determine execution of the MULTI/EXEC block * @param keys List of keys to watch

    Watch the given keys to determine execution of the MULTI/EXEC block * @param keys List of keys to watch

    handler

    Handler for the result of this call.

  446. def watchManyFuture(keys: Buffer[String]): Future[String]

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

  447. def zadd(key: String, score: Double, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  448. def zaddFuture(key: String, score: Double, member: String): Future[String]

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

  449. def zaddMany(key: String, members: Map[String, Double], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  450. def zaddManyFuture(key: String, members: Map[String, Double]): Future[String]

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

  451. def zcard(key: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  452. def zcardFuture(key: String): Future[String]

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

  453. def zcount(key: String, min: Double, max: Double, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  454. def zcountFuture(key: String, min: Double, max: Double): Future[String]

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

  455. def zincrby(key: String, increment: Double, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  456. def zincrbyFuture(key: String, increment: Double, member: String): Future[String]

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

  457. def zinterstore(destkey: String, sets: Buffer[String], options: AggregateOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  458. def zinterstoreFuture(destkey: String, sets: Buffer[String], options: AggregateOptions): Future[String]

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

  459. def zinterstoreWeighed(destkey: String, sets: Map[String, Double], options: AggregateOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  460. def zinterstoreWeighedFuture(destkey: String, sets: Map[String, Double], options: AggregateOptions): Future[String]

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

  461. def zlexcount(key: String, min: String, max: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  462. def zlexcountFuture(key: String, min: String, max: String): Future[String]

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

  463. def zrange(key: String, start: Long, stop: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  464. def zrangeFuture(key: String, start: Long, stop: Long): Future[String]

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

  465. def zrangeWithOptions(key: String, start: Long, stop: Long, options: RangeOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  466. def zrangeWithOptionsFuture(key: String, start: Long, stop: Long, options: RangeOptions): Future[String]

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

  467. def zrangebylex(key: String, min: String, max: String, options: LimitOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  468. def zrangebylexFuture(key: String, min: String, max: String, options: LimitOptions): Future[String]

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

  469. def zrangebyscore(key: String, min: String, max: String, options: RangeLimitOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  470. def zrangebyscoreFuture(key: String, min: String, max: String, options: RangeLimitOptions): Future[String]

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

  471. def zrank(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  472. def zrankFuture(key: String, member: String): Future[String]

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

  473. def zrem(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  474. def zremFuture(key: String, member: String): Future[String]

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

  475. def zremMany(key: String, members: Buffer[String], handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  476. def zremManyFuture(key: String, members: Buffer[String]): Future[String]

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

  477. def zremrangebylex(key: String, min: String, max: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  478. def zremrangebylexFuture(key: String, min: String, max: String): Future[String]

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

  479. def zremrangebyrank(key: String, start: Long, stop: Long, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  480. def zremrangebyrankFuture(key: String, start: Long, stop: Long): Future[String]

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

  481. def zremrangebyscore(key: String, min: String, max: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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

  482. def zremrangebyscoreFuture(key: String, min: String, max: String): Future[String]

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

  483. def zrevrange(key: String, start: Long, stop: Long, options: RangeOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  484. def zrevrangeFuture(key: String, start: Long, stop: Long, options: RangeOptions): Future[String]

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

  485. def zrevrangebylex(key: String, max: String, min: String, options: LimitOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  486. def zrevrangebylexFuture(key: String, max: String, min: String, options: LimitOptions): Future[String]

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

  487. def zrevrangebyscore(key: String, max: String, min: String, options: RangeLimitOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  488. def zrevrangebyscoreFuture(key: String, max: String, min: String, options: RangeLimitOptions): Future[String]

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

  489. def zrevrank(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  490. def zrevrankFuture(key: String, member: String): Future[String]

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

  491. def zscan(key: String, cursor: String, options: ScanOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  492. def zscanFuture(key: String, cursor: String, options: ScanOptions): Future[String]

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

  493. def zscore(key: String, member: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  494. def zscoreFuture(key: String, member: String): Future[String]

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

  495. def zunionstore(destkey: String, sets: Buffer[String], options: AggregateOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  496. def zunionstoreFuture(destkey: String, sets: Buffer[String], options: AggregateOptions): Future[String]

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

  497. def zunionstoreWeighed(key: String, sets: Map[String, Double], options: AggregateOptions, handler: Handler[AsyncResult[String]]): RedisTransaction

    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.

  498. def zunionstoreWeighedFuture(key: String, sets: Map[String, Double], options: AggregateOptions): Future[String]

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

Inherited from AnyRef

Inherited from Any

Ungrouped