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

    Append a value to a key

    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

    Authenticate to the server

    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

    Count set bits in a string

    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

    Count set bits in a string

    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

    Perform bitwise operations between strings

    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

    Find first bit set or clear in a string

    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.

    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

    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

    Remove and get the first element in a list, or block until one is available

    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

    Remove and get the first element in any of the lists, or block until one is available

    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

    Remove and get the last element in a list, or block until one is available

    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

    Remove and get the last element in any of the lists, or block until one is available

    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

    Pop a value from a list, push it to another list and return it; or block until one is available

    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

    Kill the connection of a client

    filter

    Filter optionssee 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

    Stop processing commands from clients for some time

    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

    Set the current connection name

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

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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

    Get array of specific Redis command details

    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

    Get the value of a configuration parameter

    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

    Set a configuration parameter to the given value

    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

    Get debugging information about a key

    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

    Decrement the integer value of a key by one

    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

    Decrement the integer value of a key by the given number

    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

    Delete a key

    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

    Delete many keys

    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.

    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

    Echo the given string

    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.

    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.

    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

    Determine if a key exists

    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 expire(key: String, seconds: Int, handler: Handler[AsyncResult[String]]): RedisTransaction

    Set a key's time to live in seconds

    Set a key's time to live in seconds

    key

    Key string

    seconds

    Time to live in seconds

    handler

    Handler for the result of this call.

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

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

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

    Set the expiration for a key as a UNIX timestamp

    Set the expiration for a key as a UNIX timestamp

    key

    Key string

    seconds

    Expiry time as Unix timestamp in seconds

    handler

    Handler for the result of this call.

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

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

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

    Remove all keys from all databases

  145. def flushallFuture(): Future[String]

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

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

    Remove all keys from the current database

  147. def flushdbFuture(): Future[String]

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

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

    key

    Key string

    longitude

    longitude

    latitude

    latitude

    member

    member

    handler

    Handler for the result of this call.

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

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

    key

    Key string

    members

    list of <lon, lat, member>

    handler

    Handler for the result of this call.

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

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

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

    key

    Key string

    member1

    member 1

    member2

    member 2

    handler

    Handler for the result of this call.

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

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

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

    key

    Key string

    member1

    member 1

    member2

    member 2

    unit

    geo unit

    handler

    Handler for the result of this call.

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

  156. 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).

    key

    Key string

    member

    member

    handler

    Handler for the result of this call.

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

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

  158. 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).

    key

    Key string

    members

    list of members

    handler

    Handler for the result of this call.

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

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

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

    key

    Key string

    member

    member

    handler

    Handler for the result of this call.

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

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

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

    key

    Key string

    members

    list of members

    handler

    Handler for the result of this call.

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

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

  164. 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).

    key

    Key string

    longitude

    longitude

    latitude

    latitude

    radius

    radius

    unit

    geo unit

    handler

    Handler for the result of this call.

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

  166. 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).

    key

    Key string

    longitude

    longitude

    latitude

    latitude

    radius

    radius

    unit

    geo unit

    options

    geo radius optionssee GeoRadiusOptions

    handler

    Handler for the result of this call.

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

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

    key

    Key string

    member

    member

    radius

    radius

    unit

    geo unit

    handler

    Handler for the result of this call.

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

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

    key

    Key string

    member

    member

    radius

    radius

    unit

    geo unit

    options

    geo radius optionssee GeoRadiusOptions

    handler

    Handler for the result of this call.

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

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

    Get the value of a key

    Get the value of a key

    key

    Key string

    handler

    Handler for the result of this call.

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

    Get the value of a key - without decoding as utf-8

    Get the value of a key - without decoding as utf-8

    key

    Key string

    handler

    Handler for the result of this call.

  174. def getBinaryFuture(key: String): Future[String]

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

  175. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  176. def getFuture(key: String): Future[String]

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

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

    Returns the bit value at offset in the string value stored at key

    Returns the bit value at offset in the string value stored at key

    key

    Key string

    offset

    Offset in bits

    handler

    Handler for the result of this call.

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

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

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

    Get a substring of the string stored at a key

    Get a substring of the string stored at a key

    key

    Key string

    start

    Start offset

    end

    End offset - inclusive

    handler

    Handler for the result of this call.

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

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

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

    Set the string value of a key and return its old value

    Set the string value of a key and return its old value

    key

    Key of which value to set

    value

    New value for the key

    handler

    Handler for the result of this call.

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

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

  183. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  184. def hdel(key: String, field: String, handler: Handler[AsyncResult[String]]): RedisTransaction

    Delete one or more hash fields

    Delete one or more hash fields

    key

    Key string

    field

    Field name

    handler

    Handler for the result of this call.

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

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

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

    Delete one or more hash fields

    Delete one or more hash fields

    key

    Key string

    fields

    Field names

    handler

    Handler for the result of this call.

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

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

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

    Determine if a hash field exists

    Determine if a hash field exists

    key

    Key string

    field

    Field name

    handler

    Handler for the result of this call.

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

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

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

    Get the value of a hash field

    Get the value of a hash field

    key

    Key string

    field

    Field name

    handler

    Handler for the result of this call.

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

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

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

    Get all the fields and values in a hash

    Get all the fields and values in a hash

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Increment the integer value of a hash field by the given number

    key

    Key string

    field

    Field name

    increment

    Value by which to increment

    handler

    Handler for the result of this call.

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

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

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

    Increment the float value of a hash field by the given amount

    key

    Key string

    field

    Field name

    increment

    Value by which to increment

    handler

    Handler for the result of this call.

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

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

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

    Get all the fields in a hash

    Get all the fields in a hash

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Get the number of fields in a hash

    Get the number of fields in a hash

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Get the values of all the given hash fields

    Get the values of all the given hash fields

    key

    Key string

    fields

    Field names

    handler

    Handler for the result of this call.

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

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

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

    Set multiple hash fields to multiple values

    Set multiple hash fields to multiple values

    key

    Key string

    values

    Map of field:value pairs

    handler

    Handler for the result of this call.

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

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

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

    Incrementally iterate hash fields and associated values

    Incrementally iterate hash fields and associated values

    key

    Key string

    cursor

    Cursor id

    options

    Scan optionssee ScanOptions

    handler

    Handler for the result of this call.

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

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

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

    Set the string value of a hash field

    Set the string value of a hash field

    key

    Key string

    field

    Field name

    value

    New value

    handler

    Handler for the result of this call.

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

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

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

    Set the value of a hash field, only if the field does not exist

    key

    Key string

    field

    Field name

    value

    New value

    handler

    Handler for the result of this call.

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

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

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

    Get all the values in a hash

    Get all the values in a hash

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Increment the integer value of a key by one

    Increment the integer value of a key by one

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Increment the integer value of a key by the given amount

    Increment the integer value of a key by the given amount

    key

    Key string

    increment

    Value by which to increment

    handler

    Handler for the result of this call.

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

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

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

    Increment the float value of a key by the given amount

    Increment the float value of a key by the given amount

    key

    Key string

    increment

    Value by which to increment

    handler

    Handler for the result of this call.

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

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

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

    Get information and statistics about the server

    Get information and statistics about the server

    handler

    Handler for the result of this call.

  221. def infoFuture(): Future[String]

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

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

    Get information and statistics about the server

    Get information and statistics about the server

    section

    Specific section of information to return

    handler

    Handler for the result of this call.

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

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

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

    Find all keys matching the given pattern

    Find all keys matching the given pattern

    pattern

    Pattern to limit the keys returned

    handler

    Handler for the result of this call.

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

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

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

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

  228. def lastsaveFuture(): Future[String]

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

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

    Get an element from a list by its index

    Get an element from a list by its index

    key

    Key string

    index

    Index of list element to get

    handler

    Handler for the result of this call.

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

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

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

    Insert an element before or after another element in a list

    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.

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

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

    Get the length of a list

    Get the length of a list

    key

    String key

    handler

    Handler for the result of this call.

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

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

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

    Remove and get the first element in a list

    Remove and get the first element in a list

    key

    String key

    handler

    Handler for the result of this call.

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

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

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

    Prepend one value to a list

    Prepend one value to a list

    key

    Key string

    value

    Value to be added at the beginning of the list

    handler

    Handler for the result of this call.

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

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

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

    Prepend one or multiple values to a list

    Prepend one or multiple values to a list

    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.

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

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

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

    Prepend a value to a list, only if the list exists

    Prepend a value to a list, only if the list exists

    key

    Key string

    value

    Value to add at the beginning of the list

    handler

    Handler for the result of this call.

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

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

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

    Get a range of elements from a list

    Get a range of elements from a list

    key

    Key string

    from

    Start index

    to

    Stop index

    handler

    Handler for the result of this call.

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

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

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

    Remove elements from a list

    Remove elements from a list

    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.

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

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

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

    Set the value of an element in a list by its index

    key

    Key string

    index

    Position within list

    value

    New value

    handler

    Handler for the result of this call.

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

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

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

    Trim a list to the specified range

    Trim a list to the specified range

    key

    Key string

    from

    Start index

    to

    Stop index

    handler

    Handler for the result of this call.

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

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

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

    Get the value of the given key

    Get the value of the given key

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Get the values of all the given keys

    Get the values of all the given keys

    keys

    List of keys to get

    handler

    Handler for the result of this call.

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

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

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

    host

    Destination host

    port

    Destination port

    key

    Key to migrate

    destdb

    Destination database index

    options

    Migrate optionssee MigrateOptions

    handler

    Handler for the result of this call.

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

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

    Listen for all requests received by the server in real time

  258. def monitorFuture(): Future[String]

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

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

    Move a key to another database

    Move a key to another database

    key

    Key to migrate

    destdb

    Destination database index

    handler

    Handler for the result of this call.

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

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

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

    Set multiple keys to multiple values

    Set multiple keys to multiple values

    keyvals

    Key value pairs to set

    handler

    Handler for the result of this call.

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

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

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

    Set multiple keys to multiple values, only if none of the keys exist

    Set multiple keys to multiple values, only if none of the keys exist

    keyvals

    Key value pairs to set

    handler

    Handler for the result of this call.

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

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

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

    Mark the start of a RedisTransaction block

  266. def multiFuture(): Future[String]

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

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

    Inspect the internals of Redis objects

    Inspect the internals of Redis objects

    key

    Key string

    cmd

    Object sub command

    handler

    Handler for the result of this call.

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

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

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

    Remove the expiration from a key

    Remove the expiration from a key

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Set a key's time to live in milliseconds

    Set a key's time to live in milliseconds

    key

    String key

    millis

    Time to live in milliseconds

    handler

    Handler for the result of this call.

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

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

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

    Set the expiration for a key as a UNIX timestamp specified in milliseconds

    Set the expiration for a key as a UNIX timestamp specified in milliseconds

    key

    Key string

    millis

    Expiry time as Unix timestamp in milliseconds

    handler

    Handler for the result of this call.

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

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

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

    key

    Key string

    element

    Element to add

    handler

    Handler for the result of this call.

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

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

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

    key

    Key string

    elements

    Elementa to add

    handler

    Handler for the result of this call.

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

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

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

    key

    Key string

    handler

    Handler for the result of this call.

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

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

  284. 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).

    keys

    List of keys

    handler

    Handler for the result of this call.

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

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

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

    destkey

    Destination key

    keys

    List of source keys

    handler

    Handler for the result of this call.

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

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

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

    Ping the server

  289. def pingFuture(): Future[String]

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

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

    Set the value and expiration in milliseconds of a key

    Set the value and expiration in milliseconds of a key

    key

    Key string

    millis

    Number of milliseconds until the key expires

    value

    New value for key

    handler

    Handler for the result of this call.

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

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

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

    Listen for messages published to channels matching the given pattern

    Listen for messages published to channels matching the given pattern

    pattern

    Pattern string

    handler

    Handler for the result of this call.

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

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

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

    Listen for messages published to channels matching the given patterns

    Listen for messages published to channels matching the given patterns

    patterns

    List of patterns

    handler

    Handler for the result of this call.

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

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

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

    Get the time to live for a key in milliseconds

    Get the time to live for a key in milliseconds

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Post a message to a channel

    Post a message to a channel

    channel

    Channel key

    message

    Message to send to channel

    handler

    Handler for the result of this call.

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

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

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

    Lists the currently active channels - only those matching the pattern

    Lists the currently active channels - only those matching the pattern

    pattern

    A glob-style pattern - an empty string means no pattern

    handler

    Handler for the result of this call.

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

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

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

    Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)

    Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)

    handler

    Handler for the result of this call.

  303. def pubsubNumpatFuture(): Future[String]

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

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

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

    channels

    List of channels

    handler

    Handler for the result of this call.

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

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

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

    Stop listening for messages posted to channels matching the given patterns

    Stop listening for messages posted to channels matching the given patterns

    patterns

    List of patterns to match against

    handler

    Handler for the result of this call.

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

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

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

    Return a random key from the keyspace

  309. def randomkeyFuture(): Future[String]

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

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

    Rename a key

    Rename a key

    key

    Key string to be renamed

    newkey

    New key string

    handler

    Handler for the result of this call.

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

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

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

    Rename a key, only if the new key does not exist

    Rename a key, only if the new key does not exist

    key

    Key string to be renamed

    newkey

    New key string

    handler

    Handler for the result of this call.

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

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

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

    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.

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

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

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

    Return the role of the instance in the context of replication

  317. def roleFuture(): Future[String]

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

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

    Remove and get the last element in a list

    Remove and get the last element in a list

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Remove the last element in a list, append it to another list and return it

    key

    Key string identifying source list

    destkey

    Key string identifying destination list

    handler

    Handler for the result of this call.

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

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

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

    Append one or multiple values to a list

    Append one or multiple values to a list

    key

    Key string

    value

    Value to be added to the end of the list

    handler

    Handler for the result of this call.

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

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

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

    Append one or multiple values to a list

    Append one or multiple values to a list

    key

    Key string

    values

    List of values to add to the end of the list

    handler

    Handler for the result of this call.

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

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

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

    Append a value to a list, only if the list exists

    Append a value to a list, only if the list exists

    key

    Key string

    value

    Value to be added to the end of the list

    handler

    Handler for the result of this call.

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

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

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

    Add a member to a set

    Add a member to a set

    key

    Key string

    member

    Value to be added to the set

    handler

    Handler for the result of this call.

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

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

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

    Add one or more members to a set

    Add one or more members to a set

    key

    Key string

    members

    Values to be added to the set

    handler

    Handler for the result of this call.

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

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

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

    Synchronously save the dataset to disk

  333. def saveFuture(): Future[String]

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

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

    Incrementally iterate the keys space

    Incrementally iterate the keys space

    cursor

    Cursor id

    options

    Scan optionssee ScanOptions

    handler

    Handler for the result of this call.

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

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

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

    Get the number of members in a set

    Get the number of members in a set

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    script

    SHA1 digest identifying a script in the script cache

    handler

    Handler for the result of this call.

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

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

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

    scripts

    List of SHA1 digests identifying scripts in the script cache

    handler

    Handler for the result of this call.

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

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

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

    Remove all the scripts from the script cache.

  343. def scriptFlushFuture(): Future[String]

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

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

    Kill the script currently in execution.

  345. def scriptKillFuture(): Future[String]

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

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

    script

    Lua script

    handler

    Handler for the result of this call.

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

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

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

    Subtract multiple sets

    Subtract multiple sets

    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.

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

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

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

    Subtract multiple sets and store the resulting set in a key

    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.

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

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

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

    Change the selected database for the current connection

    Change the selected database for the current connection

    dbindex

    Index identifying the new active database

    handler

    Handler for the result of this call.

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

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

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

    Set the string value of a key

    Set the string value of a key

    key

    Key of which value to set

    value

    New value for the key

    handler

    Handler for the result of this call.

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

    Set the binary string value of a key - without encoding as utf-8

    Set the binary string value of a key - without encoding as utf-8

    key

    Key of which value to set

    value

    New value for the key

    handler

    Handler for the result of this call.

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

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

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

    Set the string value of a key

    Set the string value of a key

    key

    Key of which value to set

    value

    New value for the key

    options

    Set optionssee SetOptions

    handler

    Handler for the result of this call.

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

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

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

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

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

    Set the string value of a key

    Set the string value of a key

    key

    Key of which value to set

    value

    New value for the key

    options

    Set optionssee SetOptions

    handler

    Handler for the result of this call.

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

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

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

    Sets or clears the bit at offset in the string value stored at key

    key

    Key string

    offset

    Bit offset

    bit

    New value - must be 1 or 0

    handler

    Handler for the result of this call.

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

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

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

    Set the value and expiration of a key

    Set the value and expiration of a key

    key

    Key string

    seconds

    Number of seconds until the key expires

    value

    New value for key

    handler

    Handler for the result of this call.

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

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

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

    Set the value of a key, only if the key does not exist

    Set the value of a key, only if the key does not exist

    key

    Key of which value to set

    value

    New value for the key

    handler

    Handler for the result of this call.

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

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

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

    Overwrite part of a string at key starting at the specified offset

    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.

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

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

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

    Intersect multiple sets

    Intersect multiple sets

    keys

    List of keys to perform intersection on

    handler

    Handler for the result of this call.

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

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

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

    Intersect multiple sets and store the resulting set in a key

    Intersect multiple sets and store the resulting set in a key

    destkey

    Key where to store the results

    keys

    List of keys to perform intersection on

    handler

    Handler for the result of this call.

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

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

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

    Determine if a given value is a member of a set

    Determine if a given value is a member of a set

    key

    Key string

    member

    Member to look for

    handler

    Handler for the result of this call.

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

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

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

    Make the server a slave of another instance

    Make the server a slave of another instance

    host

    Host to become this server's master

    port

    Port of our new master

    handler

    Handler for the result of this call.

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

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

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

    Make this server a master

    Make this server a master

    handler

    Handler for the result of this call.

  379. def slaveofNooneFuture(): Future[String]

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

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

    Read the Redis slow queries log

    Read the Redis slow queries log

    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.

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

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

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

    Get the length of the Redis slow queries log

    Get the length of the Redis slow queries log

    handler

    Handler for the result of this call.

  383. def slowlogLenFuture(): Future[String]

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

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

    Reset the Redis slow queries log

    Reset the Redis slow queries log

    handler

    Handler for the result of this call.

  385. def slowlogResetFuture(): Future[String]

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

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

    Get all the members in a set

    Get all the members in a set

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Move a member from one set to another

    Move a member from one set to another

    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.

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

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

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

    Sort the elements in a list, set or sorted set

    Sort the elements in a list, set or sorted set

    key

    Key string

    options

    Sort optionssee SortOptions

    handler

    Handler for the result of this call.

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

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

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

    Remove and return a random member from a set

    Remove and return a random member from a set

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Remove and return random members from a set

    Remove and return random members from a set

    key

    Key string

    count

    Number of members to remove

    handler

    Handler for the result of this call.

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

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

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

    Get one or multiple random members from a set

    Get one or multiple random members from a set

    key

    Key string

    handler

    Handler for the result of this call.

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

    Get one or multiple random members from a set

    Get one or multiple random members from a set

    key

    Key string

    count

    Number of members to get

    handler

    Handler for the result of this call.

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

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

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

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

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

    Remove one member from a set

    Remove one member from a set

    key

    Key string

    member

    Member to remove

    handler

    Handler for the result of this call.

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

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

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

    Remove one or more members from a set

    Remove one or more members from a set

    key

    Key string

    members

    Members to remove

    handler

    Handler for the result of this call.

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

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

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

    Incrementally iterate Set elements

    Incrementally iterate Set elements

    key

    Key string

    cursor

    Cursor id

    options

    Scan optionssee ScanOptions

    handler

    Handler for the result of this call.

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

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

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

    Get the length of the value stored in a key

    Get the length of the value stored in a key

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Listen for messages published to the given channels

    Listen for messages published to the given channels

    channel

    Channel to subscribe to

    handler

    Handler for the result of this call.

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

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

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

    Listen for messages published to the given channels

    Listen for messages published to the given channels

    channels

    List of channels to subscribe to

    handler

    Handler for the result of this call.

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

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

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

    Add multiple sets

    Add multiple sets

    keys

    List of keys identifying sets to add up

    handler

    Handler for the result of this call.

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

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

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

    Add multiple sets and store the resulting set in a key

    Add multiple sets and store the resulting set in a key

    destkey

    Destination key

    keys

    List of keys identifying sets to add up

    handler

    Handler for the result of this call.

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

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

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

    Internal command used for replication

  417. def syncFuture(): Future[String]

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

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

    Return the current server time

  420. def timeFuture(): Future[String]

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

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

    Get the time to live for a key

    Get the time to live for a key

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Determine the type stored at key

    Determine the type stored at key

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Stop listening for messages posted to the given channels

    Stop listening for messages posted to the given channels

    channels

    List of channels to subscribe to

    handler

    Handler for the result of this call.

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

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

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

    Forget about all watched keys

  429. def unwatchFuture(): Future[String]

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

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

    handler

    Handler for the result of this call.

  431. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  432. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  433. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  434. def waitFuture(numSlaves: Long, timeout: Long): Future[String]

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

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

    Watch the given keys to determine execution of the MULTI/EXEC block

    Watch the given keys to determine execution of the MULTI/EXEC block

    key

    Key to watch

    handler

    Handler for the result of this call.

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

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

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

    Watch the given keys to determine execution of the MULTI/EXEC block

    Watch the given keys to determine execution of the MULTI/EXEC block

    keys

    List of keys to watch

    handler

    Handler for the result of this call.

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

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

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

    Add one or more members to a sorted set, or update its score if it already exists

    key

    Key string

    score

    Score used for sorting

    member

    New member key

    handler

    Handler for the result of this call.

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

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

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

    Add one or more members to a sorted set, or update its score if it already exists

    key

    Key string

    members

    New member keys and their scores

    handler

    Handler for the result of this call.

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

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

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

    Get the number of members in a sorted set

    Get the number of members in a sorted set

    key

    Key string

    handler

    Handler for the result of this call.

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

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

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

    Count the members in a sorted set with scores within the given values

    key

    Key string

    min

    Minimum score

    max

    Maximum score

    handler

    Handler for the result of this call.

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

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

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

    Increment the score of a member in a sorted set

    Increment the score of a member in a sorted set

    key

    Key string

    increment

    Increment amount

    member

    Member key

    handler

    Handler for the result of this call.

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

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

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

    Intersect multiple sorted sets and store the resulting sorted set in a new key

    destkey

    Destination key

    sets

    List of keys identifying sorted sets to intersect

    options

    Aggregation options

    handler

    Handler for the result of this call.

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

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

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

    Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring

    destkey

    Destination key

    sets

    List of keys identifying sorted sets to intersect

    options

    Aggregation options

    handler

    Handler for the result of this call.

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

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

    Count the number of members in a sorted set between a given lexicographical range

    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.

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

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

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

    Return a range of members in a sorted set, by index

    Return a range of members in a sorted set, by index

    key

    Key string

    start

    Start index for the range

    stop

    Stop index for the range - inclusive

    handler

    Handler for the result of this call.

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

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

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

    Return a range of members in a sorted set, by index

    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.

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

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

    Return a range of members in a sorted set, by lexicographical range

    key

    Key string

    min

    Pattern representing a minimum allowed value

    max

    Pattern representing a maximum allowed value

    options

    Limit options where limit can be specifiedsee LimitOptions

    handler

    Handler for the result of this call.

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

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

    Return a range of members in a sorted set, by score

    key

    Key string

    min

    Pattern defining a minimum value

    max

    Pattern defining a maximum value

    options

    Range and limit optionssee RangeLimitOptions

    handler

    Handler for the result of this call.

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

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

    Determine the index of a member in a sorted set

    Determine the index of a member in a sorted set

    key

    Key string

    member

    Member in the sorted set identified by key

    handler

    Handler for the result of this call.

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

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

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

    Remove one member from a sorted set

    Remove one member from a sorted set

    key

    Key string

    member

    Member in the sorted set identified by key

    handler

    Handler for the result of this call.

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

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

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

    Remove one or more members from a sorted set

    Remove one or more members from a sorted set

    key

    Key string

    members

    Members in the sorted set identified by key

    handler

    Handler for the result of this call.

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

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

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

    Remove all members in a sorted set between the given lexicographical range

    key

    Key string

    min

    Pattern defining a minimum value

    max

    Pattern defining a maximum value

    handler

    Handler for the result of this call.

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

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

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

    Remove all members in a sorted set within the given indexes

    Remove all members in a sorted set within the given indexes

    key

    Key string

    start

    Start index

    stop

    Stop index

    handler

    Handler for the result of this call.

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

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

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

    Remove all members in a sorted set within the given scores

    Remove all members in a sorted set within the given scores

    key

    Key string

    min

    Pattern defining a minimum value

    max

    Pattern defining a maximum value

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

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

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

    Return a range of members in a sorted set, by index, with scores ordered from high to low

    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.

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

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

    Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low

    key

    Key string

    max

    Pattern defining a maximum value

    min

    Pattern defining a minimum value

    options

    Limit optionssee LimitOptions

    handler

    Handler for the result of this call.

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

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

    Return a range of members in a sorted set, by score, with scores ordered from high to low

    key

    Key string

    max

    Pattern defining a maximum value

    min

    Pattern defining a minimum value

    options

    Range and limit optionssee RangeLimitOptions

    handler

    Handler for the result of this call.

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

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

    Determine the index of a member in a sorted set, with scores ordered from high to low

    key

    Key string

    member

    Member in the sorted set identified by key

    handler

    Handler for the result of this call.

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

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

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

    Incrementally iterate sorted sets elements and associated scores

    Incrementally iterate sorted sets elements and associated scores

    key

    Key string

    cursor

    Cursor id

    options

    Scan optionssee ScanOptions

    handler

    Handler for the result of this call.

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

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

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

    Get the score associated with the given member in a sorted set

    Get the score associated with the given member in a sorted set

    key

    Key string

    member

    Member in the sorted set identified by key

    handler

    Handler for the result of this call.

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

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

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

    Add multiple sorted sets and store the resulting sorted set in a new key

    destkey

    Destination key

    sets

    List of keys identifying sorted sets

    options

    Aggregation options

    handler

    Handler for the result of this call.

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

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

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

    Add multiple sorted sets using weights, and store the resulting sorted set in a new key

    key

    Destination key

    sets

    Map containing set-key:weight pairs

    options

    Aggregation options

    handler

    Handler for the result of this call.

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