com.twitter.finagle.redis

Keys

trait Keys extends AnyRef

Self Type
Keys with BaseClient
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Keys
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def del(keys: Seq[ChannelBuffer]): Future[Long]

    Removes keys

    Removes keys

    keys

    list of keys to remove

    returns

    Number of keys removed

  9. def dump(key: ChannelBuffer): Future[Option[ChannelBuffer]]

    Serialize the value stored at key in a Redis-specific format and returns it to the user

    Serialize the value stored at key in a Redis-specific format and returns it to the user

    key
    returns

    bytes, or none if the key did not exist

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def exists(key: ChannelBuffer): Future[Boolean]

    Checks if given key exists

    Checks if given key exists

    key
    returns

    true if key exists, false otherwise

  13. def expire(key: ChannelBuffer, ttl: Long): Future[Boolean]

    Sets how long it will take the key to expire

    Sets how long it will take the key to expire

    key
    ttl
    returns

    boolean, true if it successfully set the ttl (time to live) on a valid key, false otherwise.

  14. def expireAt(key: ChannelBuffer, ttl: Long): Future[Boolean]

    Same effect and semantic as "expire", but takes an absolute Unix timestamp

    Same effect and semantic as "expire", but takes an absolute Unix timestamp

    key
    ttl

    time-to-live as unix timestamp

    returns

    boolean, true if it successfully set the ttl (time to live) on a valid key, false otherwise.

  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def keys(pattern: ChannelBuffer): Future[Seq[ChannelBuffer]]

    Returns all keys matching pattern

    Returns all keys matching pattern

    pattern
    returns

    list of keys matching pattern

  20. def move(key: ChannelBuffer, db: ChannelBuffer): Future[Boolean]

    Move key from the currently selected database to the specified destination database.

    Move key from the currently selected database to the specified destination database. When key already exists in the destination database, or it does not exist in the source database, it does nothing.

    returns

    true if key was moved. false if key was not moved for any reason.

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def pExpire(key: ChannelBuffer, milliseconds: Long): Future[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.

    See also

    http://redis.io/commands/pexpire

  25. def pExpireAt(key: ChannelBuffer, timestamp: Long): Future[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

    true if the timeout was set. false if key does not exist or the timeout could not be set (see: EXPIRE).

    See also

    http://redis.io/commands/pexpireat

  26. def pTtl(key: ChannelBuffer): Future[Option[Long]]

    Get the time to live for a key in milliseconds.

    Get the time to live for a key in milliseconds.

    key
    returns

    Time to live in milliseconds or None when key does not exist or does not have a timeout.

    See also

  27. def scan(cursor: Long, count: Option[Long], pattern: Option[ChannelBuffer]): Future[Seq[ChannelBuffer]]

    Returns keys starting at cursor

    Returns keys starting at cursor

    returns

    cursor followed by matching keys

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def ttl(key: ChannelBuffer): Future[Option[Long]]

    Gets the ttl of the given key.

    Gets the ttl of the given key.

    key
    returns

    Option containing either the ttl in seconds if the key exists and has a timeout, or else nothing.

  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped