Packages

object RedisList extends RedisList

Annotations
@deprecated
Deprecated

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

Source
RedisList.scala
Linear Supertypes
RedisList, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisList
  2. RedisList
  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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def blpop[K, V](timeout: Long, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[KeyValue[K, V]]

    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.

    returns

    A null multi-bulk when no element could be popped and the timeout expired. A two-element multi-bulk with the first element being the name of the key where an element was popped and the second element being the value of the popped element.

    Definition Classes
    RedisList
  6. def brpop[K, V](timeout: Long, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[KeyValue[K, V]]

    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.

    returns

    A null multi-bulk when no element could be popped and the timeout expired. A two-element multi-bulk with the first element being the name of the key where an element was popped and the second element being the value of the popped element.

    Definition Classes
    RedisList
  7. def brpoplpush[K, V](timeout: Long, source: K, destination: K)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    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.

    returns

    The element being popped from source and pushed to destination.

    Definition Classes
    RedisList
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def lindex[K, V](key: K, index: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    Get an element from a list by its index.

    Get an element from a list by its index.

    returns

    The requested element, or null when index is out of range.

    Definition Classes
    RedisList
  16. def linsert[K, V](key: K, before: Boolean, pivot: V, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Insert an element before or after another element in a list.

    Insert an element before or after another element in a list.

    returns

    The length of the list after the insert operation, or -1 when the value pivot was not found.

    Definition Classes
    RedisList
  17. def llen[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Get the length of a list.

    Get the length of a list.

    returns

    Long integer-reply the length of the list at { @code key}.

    Definition Classes
    RedisList
  18. def lpop[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    Remove and get the first element in a list.

    Remove and get the first element in a list.

    returns

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

    Definition Classes
    RedisList
  19. def lpush[K, V](key: K, values: V*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Prepend one or multiple values to a list.

    Prepend one or multiple values to a list.

    returns

    The length of the list after the push operations.

    Definition Classes
    RedisList
  20. def lpushx[K, V](key: K, values: V*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Prepend values to a list, only if the list exists.

    Prepend values to a list, only if the list exists.

    returns

    The length of the list after the push operation.

    Definition Classes
    RedisList
  21. def lrange[K, V](key: K, start: Long, stop: Long)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]

    Get a range of elements from a list.

    Get a range of elements from a list.

    returns

    List of elements in the specified range.

    Definition Classes
    RedisList
  22. def lrem[K, V](key: K, count: Long, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Remove elements from a list.

    Remove elements from a list.

    returns

    The number of removed elements.

    Definition Classes
    RedisList
  23. def lset[K, V](key: K, index: Long, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

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

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

    returns

    The same inserted value

    Definition Classes
    RedisList
  24. def ltrim[K, V](key: K, start: Long, stop: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Trim a list to the specified range.

    Trim a list to the specified range.

    returns

    Simple string reply

    Definition Classes
    RedisList
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def rpop[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    Remove and get the last element in a list.

    Remove and get the last element in a list.

    returns

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

    Definition Classes
    RedisList
  29. def rpoplpush[K, V](source: K, destination: K)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    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.

    returns

    The element being popped and pushed.

    Definition Classes
    RedisList
  30. def rpush[K, V](key: K, values: V*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Append one or multiple values to a list.

    Append one or multiple values to a list.

    returns

    The length of the list after the push operation.

    Definition Classes
    RedisList
  31. def rpushx[K, V](key: K, values: V*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Append values to a list, only if the list exists.

    Append values to a list, only if the list exists.

    returns

    The length of the list after the push operation.

    Definition Classes
    RedisList
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from RedisList

Inherited from AnyRef

Inherited from Any

Ungrouped