Packages

o

monix.connect.redis

RedisString

object RedisString extends RedisString

Annotations
@deprecated
Deprecated

(Since version 0.6.0) use the pure monix.connect.redis.client.RedisConnection

Source
RedisString.scala
Linear Supertypes
RedisString, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisString
  2. RedisString
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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[K, V](key: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Append a value to a key.

    Append a value to a key.

    returns

    The length of the string after the append operation.

    Definition Classes
    RedisString
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bitcount[K, V](key: K, start: Long, end: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Count set bits in a string.

    Count set bits in a string.

    returns

    The number of bits set to 1.

    Definition Classes
    RedisString
  7. def bitcount[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Count set bits in a string.

    Count set bits in a string.

    returns

    The number of bits set to 1.

    Definition Classes
    RedisString
  8. def bitopAnd[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Perform bitwise AND between strings.

    Perform bitwise AND between strings.

    returns

    The size of the string stored in the destination key, that is equal to the size of the longest input string.

    Definition Classes
    RedisString
  9. def bitopNot[K, V](destination: K, source: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Perform bitwise NOT between strings.

    Perform bitwise NOT between strings.

    returns

    The size of the string stored in the destination key, that is equal to the size of the longest input string.

    Definition Classes
    RedisString
  10. def bitopOr[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Perform bitwise OR between strings.

    Perform bitwise OR between strings.

    returns

    The size of the string stored in the destination key, that is equal to the size of the longest input string.

    Definition Classes
    RedisString
  11. def bitopXor[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Perform bitwise XOR between strings.

    Perform bitwise XOR between strings.

    returns

    The size of the string stored in the destination key, that is equal to the size of the longest input string.

    Definition Classes
    RedisString
  12. def bitpos[K, V](key: K, state: Boolean, start: Long, end: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Find first bit set or clear in a string.

    Find first bit set or clear in a string.

    returns

    The command returns the position of the first bit set to 1 or 0 according to the request.

    Definition Classes
    RedisString
  13. def bitpos[K, V](key: K, state: Boolean, start: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Find first bit set or clear in a string.

    Find first bit set or clear in a string.

    returns

    The command returns the position of the first bit set to 1 or 0 according to the request.

    Definition Classes
    RedisString
  14. def bitpos[K, V](key: K, state: Boolean)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Find first bit set or clear in a string.

    Find first bit set or clear in a string.

    returns

    The command returns the position of the first bit set to 1 or 0 according to the request.

    Definition Classes
    RedisString
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. def decr[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Decrement the integer value of a key by one.

    Decrement the integer value of a key by one.

    returns

    The value of key after the decrement

    Definition Classes
    RedisString
  17. def decrby[K, V](key: K, amount: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Decrement the integer value of a key by the given number.

    Decrement the integer value of a key by the given number.

    returns

    The value of key after the decrement.

    Definition Classes
    RedisString
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def get[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    Get the value of a key.

    Get the value of a key.

    returns

    The value of key, or null when key does not exist.

    Definition Classes
    RedisString
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getbit[K, V](key: K, offset: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    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.

    returns

    The bit value stored at offset.

    Definition Classes
    RedisString
  24. def getrange[K, V](key: K, start: Long, end: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    Get a substring of the string stored at a key.

    Get a substring of the string stored at a key.

    returns

    Bulk string reply.

    Definition Classes
    RedisString
  25. def getset[K, V](key: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

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

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

    returns

    The old value stored at key, or null when key did not exist.

    Definition Classes
    RedisString
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def incr[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Increment the integer value of a key by one.

    Increment the integer value of a key by one.

    returns

    The value of key after the increment.

    Definition Classes
    RedisString
  28. def incrby[K, V](key: K, amount: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Increment the integer value of a key by the given amount.

    Increment the integer value of a key by the given amount.

    returns

    The value of key after the increment.

    Definition Classes
    RedisString
  29. def incrbyfloat[K, V](key: K, amount: Double)(implicit connection: StatefulRedisConnection[K, V]): Task[Double]

    Increment the float value of a key by the given amount.

    Increment the float value of a key by the given amount.

    returns

    Double bulk string reply the value of key after the increment.

    Definition Classes
    RedisString
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def mget[K, V](keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Observable[KeyValue[K, V]]

    Get the values of all the given keys.

    Get the values of all the given keys.

    returns

    Values at the specified keys.

    Definition Classes
    RedisString
  32. def mset[K, V](map: Map[K, V])(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Set multiple keys to multiple values.

    Set multiple keys to multiple values.

    returns

    Always OK since MSET can't fail.

    Definition Classes
    RedisString
  33. def msetnx[K, V](map: Map[K, V])(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    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.

    returns

    True if the all the keys were set. False if no key was set (at least one key already existed).

    Definition Classes
    RedisString
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def psetex[K, V](key: K, milliseconds: Long, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Set the value and expiration in milliseconds of a key.

    Set the value and expiration in milliseconds of a key.

    returns

    String simple-string-reply

    Definition Classes
    RedisString
  38. def set[K, V](key: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Set the string value of a key.

    Set the string value of a key.

    returns

    OK if SET was executed correctly.

    Definition Classes
    RedisString
  39. def setbit[K, V](key: K, offset: Long, value: Int)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    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.

    returns

    The original bit value stored at offset.

    Definition Classes
    RedisString
  40. def setex[K, V](key: K, seconds: Long, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Set the value and expiration of a key.

    Set the value and expiration of a key.

    returns

    Simple string reply.

    Definition Classes
    RedisString
  41. def setnx[K, V](key: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    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.

    returns

    True if the key was set. False if the key was not set

    Definition Classes
    RedisString
  42. def setrange[K, V](key: K, offset: Long, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

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

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

    returns

    The length of the string after it was modified by the command.

    Definition Classes
    RedisString
  43. def strlen[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Get the length of the value stored in a key.

    Get the length of the value stored in a key.

    returns

    The length of the string at key, or 0 when key does not exist.

    Definition Classes
    RedisString
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from RedisString

Inherited from AnyRef

Inherited from Any

Ungrouped