Packages

trait ListsApi extends ApiSubset

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ListsApi
  2. ApiSubset
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Field = RedisSerialization.Field
    Definition Classes
    ApiSubset
  2. type Key = RedisSerialization.Key
    Definition Classes
    ApiSubset
  3. type Record = RedisSerialization.Record
    Definition Classes
    ApiSubset
  4. abstract type Result[A]

    The type constructor into which a result of each command is wrapped.

    The type constructor into which a result of each command is wrapped. For example if Result is Future, then incr returns Future[Long].

    Definition Classes
    ApiSubset
  5. type Value = RedisSerialization.Value
    Definition Classes
    ApiSubset

Abstract Value Members

  1. abstract def execute[A](command: RedisCommand[A]): Result[A]
    Definition Classes
    ApiSubset
  2. abstract val serialization: RedisSerialization
    Definition Classes
    ApiSubset

Concrete Value Members

  1. def blpop(keys: Iterable[Key], timeout: Int): Result[commons.Opt[(Key, Value)]]

    Executes BLPOP

  2. def blpop(key: Key, timeout: Int): Result[commons.Opt[Value]]

    Executes BLPOP

  3. def brpop(keys: Iterable[Key], timeout: Int): Result[commons.Opt[(Key, Value)]]

    Executes BRPOP

  4. def brpop(key: Key, timeout: Int): Result[commons.Opt[Value]]

    Executes BRPOP

  5. def brpoplpush(source: Key, destination: Key, timeout: Int): Result[commons.Opt[Value]]

    Executes BRPOPLPUSH

  6. def lindex(key: Key, index: Long): Result[commons.Opt[Value]]

    Executes LINDEX

  7. def linsert(key: Key, pivot: Value, value: Value, before: Boolean = false): Result[commons.Opt[Long]]

    Executes LINSERT

  8. def llen(key: Key): Result[Long]

    Executes LLEN

  9. def lpop(key: Key): Result[commons.Opt[Value]]

    Executes LPOP

  10. def lpush(key: Key, values: Iterable[Value]): Result[Long]

    Executes LPUSH NOTE: values MUST NOT be empty - consider using lpushOrLlen in such case.

  11. def lpush(key: Key, value: Value, values: Value*): Result[Long]

    Executes LPUSH

  12. def lpushOrLlen(key: Key, values: Iterable[Value]): Result[Long]

    Executes LPUSH or LLEN when values is empty

  13. def lpushx(key: Key, values: Iterable[Value]): Result[Long]

    Executes LPUSHX

  14. def lpushx(key: Key, value: Value, values: Value*): Result[Long]

    Executes LPUSHX

  15. def lpushxOrLlen(key: Key, values: Iterable[Value]): Result[Long]

    Executes LPUSHX or LLEN when values is empty

  16. def lrange(key: Key, start: Long = 0, stop: Long = -1): Result[Seq[Value]]

    Executes LRANGE

  17. def lrem(key: Key, value: Value, count: RemCount = RemCount.All): Result[Long]

    Executes LREM

  18. def lset(key: Key, index: Long, value: Value): Result[Unit]

    Executes LSET

  19. def ltrim(key: Key, start: Long = 0, stop: Long = -1): Result[Unit]

    Executes LTRIM

  20. def rpop(key: Key): Result[commons.Opt[Value]]

    Executes RPOP

  21. def rpoplpush(source: Key, destination: Key): Result[commons.Opt[Value]]

    Executes RPOPLPUSH

  22. def rpush(key: Key, values: Iterable[Value]): Result[Long]

    Executes RPUSH NOTE: values MUST NOT be empty - consider using rpushOrLlen in such case.

  23. def rpush(key: Key, value: Value, values: Value*): Result[Long]

    Executes RPUSH

  24. def rpushOrLlen(key: Key, values: Iterable[Value]): Result[Long]

    Executes RPUSH or LLEN when values is empty

  25. def rpushx(key: Key, values: Iterable[Value]): Result[Long]

    Executes RPUSHX

  26. def rpushx(key: Key, value: Value, values: Value*): Result[Long]

    Executes RPUSHX

  27. def rpushxOrLlen(key: Key, values: Iterable[Value]): Result[Long]

    Executes RPUSHX or LLEN when values is empty