Trait

com.redis

BaseOperations

Related Doc: package redis

Permalink

trait BaseOperations extends BaseApi

Self Type
BaseOperations with Redis
Linear Supertypes
BaseApi, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseOperations
  2. BaseApi
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def auth(secret: Any)(implicit format: Format): Boolean

    Permalink

    auths with the server.

    auths with the server.

    Definition Classes
    BaseOperationsBaseApi
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dbsize: Option[Long]

    Permalink

    returns the size of the db.

    returns the size of the db.

    Definition Classes
    BaseOperationsBaseApi
  8. def del(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink

    deletes the specified keys.

    deletes the specified keys.

    Definition Classes
    BaseOperationsBaseApi
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def exists(key: Any)(implicit format: Format): Boolean

    Permalink

    test if the specified key exists.

    test if the specified key exists.

    Definition Classes
    BaseOperationsBaseApi
  12. def expire(key: Any, ttl: Int)(implicit format: Format): Boolean

    Permalink

    sets the expire time (in sec.) for the specified key.

    sets the expire time (in sec.) for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  13. def expireat(key: Any, timestamp: Long)(implicit format: Format): Boolean

    Permalink

    sets the expire time for the specified key.

    sets the expire time for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flushall: Boolean

    Permalink

    removes data from all the DB's.

    removes data from all the DB's.

    Definition Classes
    BaseOperationsBaseApi
  16. def flushdb: Boolean

    Permalink

    removes all the DB data.

    removes all the DB data.

    Definition Classes
    BaseOperationsBaseApi
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getConfig(key: Any = "*")(implicit format: Format): Option[Map[String, Option[String]]]

    Permalink

    CONFIG GET

    CONFIG GET

    Definition Classes
    BaseOperationsBaseApi
  19. def getType(key: Any)(implicit format: Format): Option[String]

    Permalink

    returns the type of the value stored at key in form of a string.

    returns the type of the value stored at key in form of a string.

    Definition Classes
    BaseOperationsBaseApi
  20. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  22. def keys[A](pattern: Any = "*")(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    returns all the keys matching the glob-style pattern.

    returns all the keys matching the glob-style pattern.

    Definition Classes
    BaseOperationsBaseApi
  23. def move(key: Any, db: Int)(implicit format: Format): Boolean

    Permalink

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

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

    Definition Classes
    BaseOperationsBaseApi
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def persist(key: Any)(implicit format: Format): Boolean

    Permalink

    Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).

    Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).

    Definition Classes
    BaseOperationsBaseApi
  28. def pexpire(key: Any, ttlInMillis: Int)(implicit format: Format): Boolean

    Permalink

    sets the expire time (in milli sec.) for the specified key.

    sets the expire time (in milli sec.) for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  29. def pexpireat(key: Any, timestampInMillis: Long)(implicit format: Format): Boolean

    Permalink

    sets the expire timestamp in millis for the specified key.

    sets the expire timestamp in millis for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  30. def ping: Option[String]

    Permalink

    ping

    ping

    Definition Classes
    BaseOperationsBaseApi
  31. val pong: Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    BaseApi
  32. def pttl(key: Any)(implicit format: Format): Option[Long]

    Permalink

    returns the remaining time to live of a key that has a timeout in millis

    returns the remaining time to live of a key that has a timeout in millis

    Definition Classes
    BaseOperationsBaseApi
  33. def quit: Boolean

    Permalink

    exits the server.

    exits the server.

    Definition Classes
    BaseOperationsBaseApi
  34. def randomkey[A](implicit parse: Parse[A]): Option[A]

    Permalink

    returns a randomly selected key from the currently selected DB.

    returns a randomly selected key from the currently selected DB.

    Definition Classes
    BaseOperationsBaseApi
  35. def rename(oldkey: Any, newkey: Any)(implicit format: Format): Boolean

    Permalink

    atomically renames the key oldkey to newkey.

    atomically renames the key oldkey to newkey.

    Definition Classes
    BaseOperationsBaseApi
  36. def renamenx(oldkey: Any, newkey: Any)(implicit format: Format): Boolean

    Permalink

    rename oldkey into newkey but fails if the destination key newkey already exists.

    rename oldkey into newkey but fails if the destination key newkey already exists.

    Definition Classes
    BaseOperationsBaseApi
  37. def scan[A](cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Permalink

    Incrementally iterate the keys space (since 2.8)

    Incrementally iterate the keys space (since 2.8)

    Definition Classes
    BaseOperationsBaseApi
  38. def select(index: Int): Boolean

    Permalink

    selects the DB to connect, defaults to 0 (zero).

    selects the DB to connect, defaults to 0 (zero).

    Definition Classes
    BaseOperationsBaseApi
  39. def setConfig(key: Any, value: Any)(implicit format: Format): Option[String]

    Permalink

    CONFIG SET

    CONFIG SET

    Definition Classes
    BaseOperationsBaseApi
  40. def sort[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    sort keys in a set, and optionally pull values for them

    sort keys in a set, and optionally pull values for them

    Definition Classes
    BaseOperationsBaseApi
  41. def sortNStore[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil, storeAt: String)(implicit format: Format, parse: Parse[A]): Option[Long]

    Permalink

    sort keys in a set, and stores result in the supplied key

    sort keys in a set, and stores result in the supplied key

    Definition Classes
    BaseOperationsBaseApi
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def time[A](implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.

    returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.

    Definition Classes
    BaseOperationsBaseApi
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. def ttl(key: Any)(implicit format: Format): Option[Long]

    Permalink

    returns the remaining time to live of a key that has a timeout

    returns the remaining time to live of a key that has a timeout

    Definition Classes
    BaseOperationsBaseApi
  46. def unwatch(): Boolean

    Permalink

    Flushes all the previously watched keys for a transaction

    Flushes all the previously watched keys for a transaction

    Definition Classes
    BaseOperationsBaseApi
  47. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def watch(key: Any, keys: Any*)(implicit format: Format): Boolean

    Permalink

    Marks the given keys to be watched for conditional execution of a transaction.

    Marks the given keys to be watched for conditional execution of a transaction.

    Definition Classes
    BaseOperationsBaseApi

Deprecated Value Members

  1. def randkey[A](implicit parse: Parse[A]): Option[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8) use randomkey

Inherited from BaseApi

Inherited from AnyRef

Inherited from Any

Ungrouped