Packages

object RedisKey extends RedisKey

Annotations
@deprecated
Deprecated

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

Source
RedisKey.scala
Linear Supertypes
RedisKey, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisKey
  2. RedisKey
  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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def del[K, V](keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Delete one or more keys.

    Delete one or more keys.

    returns

    The number of keys that were removed.

    Definition Classes
    RedisKey
  7. def dump[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Array[Byte]]

    Return a serialized version of the value stored at the specified key.

    Return a serialized version of the value stored at the specified key.

    returns

    The serialized value.

    Definition Classes
    RedisKey
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def exists[K, V](keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Determine how many keys exist.

    Determine how many keys exist.

    returns

    Number of existing keys

    Definition Classes
    RedisKey
  11. def expire[K, V](key: K, seconds: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Set a key's time to live in seconds.

    Set a key's time to live in seconds.

    returns

    True if the timeout was set. false if key does not exist or the timeout could not be set.

    Definition Classes
    RedisKey
  12. def expireat[K, V](key: K, timestamp: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]
    Definition Classes
    RedisKey
  13. def expireat[K, V](key: K, timestamp: Date)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Set the expiration for a key as a UNIX timestamp.

    Set the expiration for a key as a UNIX timestamp.

    returns

    True if the timeout was set. False if key does not exist or the timeout could not be set.

    Definition Classes
    RedisKey
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def keys[K, V](pattern: K)(implicit connection: StatefulRedisConnection[K, V]): Observable[K]

    Find all keys matching the given pattern.

    Find all keys matching the given pattern.

    returns

    Keys matching the pattern.

    Definition Classes
    RedisKey
  19. def migrate[K, V](host: String, port: Int, key: K, db: Int, timeout: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Atomically transfer a key from a Redis instance to another one.

    Atomically transfer a key from a Redis instance to another one.

    returns

    The command returns OK on success.

    Definition Classes
    RedisKey
  20. def move[K, V](key: K, db: Int)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Move a key to another database.

    Move a key to another database.

    returns

    True if the move operation succeeded, false if not.

    Definition Classes
    RedisKey
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def objectEncoding[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    returns the kind of internal representation used in order to store the value associated with a key.

    returns the kind of internal representation used in order to store the value associated with a key.

    returns

    String

    Definition Classes
    RedisKey
  25. def objectIdletime[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Returns the number of seconds since the object stored at the specified key is idle (not requested by read or write operations).

    Returns the number of seconds since the object stored at the specified key is idle (not requested by read or write operations).

    returns

    Number of seconds since the object stored at the specified key is idle.

    Definition Classes
    RedisKey
  26. def objectRefcount[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Returns the number of references of the value associated with the specified key.

    Returns the number of references of the value associated with the specified key.

    returns

    Long

    Definition Classes
    RedisKey
  27. def persist[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Remove the expiration from a key.

    Remove the expiration from a key.

    returns

    True if the timeout was removed. false if key does not exist or does not have an associated timeout.

    Definition Classes
    RedisKey
  28. def pexpire[K, V](key: K, milliseconds: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Set a key's time to live in milliseconds.

    Set a key's time to live in milliseconds.

    returns

    True if the timeout was set. False if key does not exist or the timeout could not be set.

    Definition Classes
    RedisKey
  29. def pexpireat[K, V](key: K, timestamp: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]
    Definition Classes
    RedisKey
  30. def pexpireat[K, V](key: K, timestamp: Date)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    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.

    returns

    Boolean integer-reply specifically: { @literal true} if the timeout was set. { @literal false} if { @code key} does not exist or the timeout could not be set (see: { @code EXPIRE}).

    Definition Classes
    RedisKey
  31. def pttl[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Get the time to live for a key in milliseconds.

    Get the time to live for a key in milliseconds.

    returns

    Long integer-reply TTL in milliseconds, or a negative value in order to signal an error (see the description above).

    Definition Classes
    RedisKey
  32. def randomkey[K, V]()(implicit connection: StatefulRedisConnection[K, V]): Task[K]

    Return a random key from the keyspace.

    Return a random key from the keyspace.

    returns

    The random key, or null when the database is empty.

    Definition Classes
    RedisKey
  33. def rename[K, V](key: K, newKey: K)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Rename a key.

    Rename a key.

    returns

    String simple-string-reply

    Definition Classes
    RedisKey
  34. def renamenx[K, V](key: K, newKey: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

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

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

    returns

    True if key was renamed to newkey. False if newkey already exists.

    Definition Classes
    RedisKey
  35. def restore[K, V](key: K, ttl: Long, value: Array[Byte])(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Create a key using the provided serialized value, previously obtained using DUMP.

    Create a key using the provided serialized value, previously obtained using DUMP.

    returns

    The command returns OK on success.

    Definition Classes
    RedisKey
  36. def scan[K, V](scanCursor: ScanCursor)(implicit connection: StatefulRedisConnection[K, V]): Task[KeyScanCursor[K]]
    Definition Classes
    RedisKey
  37. def scan[K, V]()(implicit connection: StatefulRedisConnection[K, V]): Task[KeyScanCursor[K]]

    Incrementally iterate the keys space.

    Incrementally iterate the keys space.

    returns

    Scan cursor.

    Definition Classes
    RedisKey
  38. def sort[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]

    Sort the elements in a list, set or sorted set.

    Sort the elements in a list, set or sorted set.

    returns

    Sorted elements.

    Definition Classes
    RedisKey
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def touch[K, V](keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Touch one or more keys.

    Touch one or more keys. Touch sets the last accessed time for a key. Non-exsitent keys wont get created.

    returns

    The number of found keys.

    Definition Classes
    RedisKey
  42. def ttl[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Get the time to live for a key.

    Get the time to live for a key.

    returns

    TTL in seconds, or a negative value in order to signal an error (see the description above).

    Definition Classes
    RedisKey
  43. def type[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Determine the type stored at key.

    Determine the type stored at key.

    returns

    Type of key, or none when key does not exist.

    Definition Classes
    RedisKey
  44. def unlink[K, V](keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Unlink one or more keys (non blocking DEL).

    Unlink one or more keys (non blocking DEL).

    returns

    The number of keys that were removed.

    Definition Classes
    RedisKey
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from RedisKey

Inherited from AnyRef

Inherited from Any

Ungrouped