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. final def eq(arg0: AnyRef): Boolean

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

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

    Checks if given key exists

    Checks if given key exists

    key
    returns

    true if key exists, false otherwise

  12. 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.

  13. 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.

  14. def finalize(): Unit

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

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

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

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

    Returns all keys matching pattern

    Returns all keys matching pattern

    pattern
    returns

    list of keys matching pattern

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

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

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

    Definition Classes
    AnyRef
  22. 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

  23. 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

  24. 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

  25. 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

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

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. 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.

  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped