redis

RedisClient

case class RedisClient(host: String = "localhost", port: Int = 6379, name: String = "RedisClient")(implicit system: ActorSystem) extends RedisCommands with Transactions with Product with Serializable

Source
Redis.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Transactions, RedisCommands, Server, Connection, Scripting, Publish, SortedSets, Sets, Lists, Hashes, Strings, Keys, Request, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RedisClient
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Transactions
  7. RedisCommands
  8. Server
  9. Connection
  10. Scripting
  11. Publish
  12. SortedSets
  13. Sets
  14. Lists
  15. Hashes
  16. Strings
  17. Keys
  18. Request
  19. AnyRef
  20. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisClient(host: String = "localhost", port: Int = 6379, name: String = "RedisClient")(implicit system: ActorSystem)

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. def append[A](key: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Strings
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def auth[A](value: A)(implicit convert: RedisValueConverter[A]): Future[Status]

    Definition Classes
    Connection
  9. def bitcount(key: String, start: Long, end: Long): Future[Long]

    Definition Classes
    Strings
  10. def bitcount(key: String): Future[Long]

    Definition Classes
    Strings
  11. def bitop(operation: BitOperator, destkey: String, keys: String*): Future[Long]

    Definition Classes
    Strings
  12. def bitopAND(destkey: String, keys: String*): Future[Long]

    Definition Classes
    Strings
  13. def bitopNOT(destkey: String, key: String): Future[Long]

    Definition Classes
    Strings
  14. def bitopOR(destkey: String, keys: String*): Future[Long]

    Definition Classes
    Strings
  15. def bitopXOR(destkey: String, keys: String*): Future[Long]

    Definition Classes
    Strings
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def decr(key: String): Future[Long]

    Definition Classes
    Strings
  18. def decrby(key: String, decrement: Long): Future[Long]

    Definition Classes
    Strings
  19. def del(keys: String*): Future[Long]

    Definition Classes
    Keys
  20. def disconnect(): Unit

  21. def dump(key: String): Future[Option[ByteString]]

    Definition Classes
    Keys
  22. def echo[A](value: A)(implicit convert: RedisValueConverter[A]): Future[Option[ByteString]]

    Definition Classes
    Connection
  23. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. def eval(script: String, keys: Seq[String] = Seq(), args: Seq[String] = Seq()): Future[RedisReply]

    Definition Classes
    Scripting
  25. def evalsha(sha1: String, keys: Seq[String] = Seq(), args: Seq[String] = Seq()): Future[RedisReply]

    Definition Classes
    Scripting
  26. def evalshaOrEval(redisScript: RedisScript, keys: Seq[String] = Seq(), args: Seq[String] = Seq()): Future[RedisReply]

    Try EVALSHA, if NOSCRIPT returned, fallback to EVAL

    Try EVALSHA, if NOSCRIPT returned, fallback to EVAL

    Definition Classes
    Scripting
  27. implicit val executionContext: ExecutionContext

    Definition Classes
    RedisClientRequest
  28. def exists(key: String): Future[Boolean]

    Definition Classes
    Keys
  29. def expire(key: String, seconds: Long): Future[Boolean]

    Definition Classes
    Keys
  30. def expireat(key: String, seconds: Long): Future[Boolean]

    Definition Classes
    Keys
  31. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. def get(key: String): Future[Option[ByteString]]

    Definition Classes
    Strings
  33. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  34. def getbit(key: String, offset: Long): Future[Boolean]

    Definition Classes
    Strings
  35. def getrange(key: String, start: Long, end: Long): Future[Option[ByteString]]

    Definition Classes
    Strings
  36. def getset[A](key: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Option[ByteString]]

    Definition Classes
    Strings
  37. def hdel(key: String, fields: String*): Future[Long]

    Definition Classes
    Hashes
  38. def hexists(key: String, field: String): Future[Boolean]

    Definition Classes
    Hashes
  39. def hget(key: String, field: String): Future[Option[ByteString]]

    Definition Classes
    Hashes
  40. def hgetall(key: String): Future[Map[String, ByteString]]

    Definition Classes
    Hashes
  41. def hincrby(key: String, fields: String, increment: Long): Future[Long]

    Definition Classes
    Hashes
  42. def hincrbyfloat(key: String, fields: String, increment: Double): Future[Double]

    Definition Classes
    Hashes
  43. def hkeys(key: String): Future[Seq[String]]

    Definition Classes
    Hashes
  44. def hlen(key: String): Future[Long]

    Definition Classes
    Hashes
  45. def hmget(key: String, fields: String*): Future[Seq[Option[ByteString]]]

    Definition Classes
    Hashes
  46. def hmset[A](key: String, keysValues: Map[String, A])(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Hashes
  47. val host: String

  48. def hset[A](key: String, field: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Hashes
  49. def hsetnx[A](key: String, field: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Hashes
  50. def hvals(key: String): Future[Seq[ByteString]]

    Definition Classes
    Hashes
  51. def incr(key: String): Future[Long]

    Definition Classes
    Strings
  52. def incrby(key: String, increment: Long): Future[Long]

    Definition Classes
    Strings
  53. def incrbyfloat(key: String, increment: Double): Future[Option[Double]]

    Definition Classes
    Strings
  54. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  55. def keys(pattern: String): Future[Seq[String]]

    Definition Classes
    Keys
  56. def lindex(key: String, index: Long): Future[Option[ByteString]]

    Definition Classes
    Lists
  57. def linsert[A](key: String, beforeAfter: ListPivot, pivot: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Lists
  58. def linsertAfter[A](key: String, pivot: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Lists
  59. def linsertBefore[A](key: String, pivot: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Lists
  60. def llen(key: String): Future[Long]

    Definition Classes
    Lists
  61. def lpop(key: String): Future[Option[ByteString]]

    Definition Classes
    Lists
  62. def lpush[A](key: String, values: A*)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Lists
  63. def lpushx[A](key: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Lists
  64. def lrange(key: String, start: Long, stop: Long): Future[Seq[ByteString]]

    Definition Classes
    Lists
  65. def lrem[A](key: String, count: Long, value: A)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Lists
  66. def lset[A](key: String, index: Long, value: A)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Lists
  67. def ltrim(key: String, start: Long, stop: Long): Future[Boolean]

    Definition Classes
    Lists
  68. def mget(keys: String*): Future[Seq[Option[ByteString]]]

    Definition Classes
    Strings
  69. def migrate(host: String, port: Int, key: String, destinationDB: Int, timeout: FiniteDuration): Future[Boolean]

    Definition Classes
    Keys
  70. def move(key: String, db: Int): Future[Boolean]

    Definition Classes
    Keys
  71. def mset[A](keysValues: Map[String, A])(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Strings
  72. def msetnx[A](keysValues: Map[String, A])(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Strings
  73. def multi(operations: (TransactionBuilder) ⇒ Unit): TransactionBuilder

    Definition Classes
    Transactions
  74. def multi(): TransactionBuilder

    Definition Classes
    Transactions
  75. val name: String

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

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

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

    Definition Classes
    AnyRef
  79. def objectEncoding(key: String): Future[Option[String]]

    Definition Classes
    Keys
  80. def objectIdletime(key: String): Future[Option[Long]]

    Definition Classes
    Keys
  81. def objectRefcount(key: String): Future[Option[Long]]

    Definition Classes
    Keys
  82. def persist(key: String): Future[Boolean]

    Definition Classes
    Keys
  83. def pexpire(key: String, milliseconds: Long): Future[Boolean]

    Definition Classes
    Keys
  84. def pexpireat(key: String, millisecondsTimestamp: Long): Future[Boolean]

    Definition Classes
    Keys
  85. def ping(): Future[String]

    Definition Classes
    Connection
  86. val port: Int

  87. def psetex[A](key: String, milliseconds: Long, value: A)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Strings
  88. def pttl(key: String): Future[Long]

    Definition Classes
    Keys
  89. def publish[A](channel: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Publish
  90. def quit(): Future[Boolean]

    Definition Classes
    Connection
  91. def randomkey(): Future[Option[ByteString]]

    Definition Classes
    Keys
  92. val redisConnection: ActorRef

    Definition Classes
    RedisClientRequest
  93. def rename(key: String, newkey: String): Future[Boolean]

    Definition Classes
    Keys
  94. def renamenx(key: String, newkey: String): Future[Boolean]

    Definition Classes
    Keys
  95. def restore[A](key: String, ttl: Long = 0, serializedValue: A)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Keys
  96. def rpop(key: String): Future[Option[ByteString]]

    Definition Classes
    Lists
  97. def rpoplpush(source: String, destination: String): Future[Option[ByteString]]

    Definition Classes
    Lists
  98. def rpush[A](key: String, values: A*)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Lists
  99. def rpushx[A](key: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Lists
  100. def sadd[A](key: String, members: A*)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Sets
  101. def scard(key: String): Future[Long]

    Definition Classes
    Sets
  102. def scriptExists(sha1: String*): Future[Seq[Boolean]]

    Definition Classes
    Scripting
  103. def scriptFlush(): Future[Boolean]

    Definition Classes
    Scripting
  104. def scriptKill(): Future[Boolean]

    Definition Classes
    Scripting
  105. def scriptLoad(script: String): Future[String]

    Definition Classes
    Scripting
  106. def sdiff(key: String, keys: String*): Future[Seq[ByteString]]

    Definition Classes
    Sets
  107. def sdiffstore(destination: String, key: String, keys: String*): Future[Long]

    Definition Classes
    Sets
  108. def select(index: Int): Future[Boolean]

    Definition Classes
    Connection
  109. def send[T](redisCommand: RedisCommand[_ <: RedisReply, T]): Future[T]

    Definition Classes
    Request
  110. def set[A](key: String, value: A, exSeconds: Option[Long] = None, pxMilliseconds: Option[Long] = None, NX: Boolean = false, XX: Boolean = false)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Strings
  111. def setbit(key: String, offset: Long, value: Boolean): Future[Boolean]

    Definition Classes
    Strings
  112. def setex[A](key: String, seconds: Long, value: A)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Strings
  113. def setnx[A](key: String, value: A)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Strings
  114. def setrange[A](key: String, offset: Long, value: A)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Strings
  115. def sinter(key: String, keys: String*): Future[Seq[ByteString]]

    Definition Classes
    Sets
  116. def sinterstore(destination: String, key: String, keys: String*): Future[Long]

    Definition Classes
    Sets
  117. def sismember[A](key: String, member: A)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Sets
  118. def smembers(key: String): Future[Seq[ByteString]]

    Definition Classes
    Sets
  119. def smove[A](source: String, destination: String, member: A)(implicit convert: RedisValueConverter[A]): Future[Boolean]

    Definition Classes
    Sets
  120. def sort(key: String, byPattern: Option[String] = None, limit: Option[LimitOffsetCount] = None, getPatterns: Seq[String] = Seq(), order: Option[Order] = None, alpha: Boolean = false): Future[Seq[ByteString]]

    Definition Classes
    Keys
  121. def sortStore(key: String, byPattern: Option[String] = None, limit: Option[LimitOffsetCount] = None, getPatterns: Seq[String] = Seq(), order: Option[Order] = None, alpha: Boolean = false, store: String): Future[Long]

    Definition Classes
    Keys
  122. def spop(key: String): Future[Option[ByteString]]

    Definition Classes
    Sets
  123. def srandmember(key: String, count: Long): Future[Seq[ByteString]]

    Definition Classes
    Sets
  124. def srandmember(key: String): Future[Option[ByteString]]

    Definition Classes
    Sets
  125. def srem[A](key: String, members: A*)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    Sets
  126. def strlen(key: String): Future[Long]

    Definition Classes
    Strings
  127. def sunion(key: String, keys: String*): Future[Seq[ByteString]]

    Definition Classes
    Sets
  128. def sunionstore(destination: String, key: String, keys: String*): Future[Long]

    Definition Classes
    Sets
  129. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  130. def transaction(): TransactionBuilder

    Definition Classes
    Transactions
  131. def ttl(key: String): Future[Long]

    Definition Classes
    Keys
  132. def type(key: String): Future[String]

    Definition Classes
    Keys
  133. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  136. def watch(watchKeys: String*): TransactionBuilder

    Definition Classes
    Transactions
  137. def zadd[A](key: String, scoreMembers: (Double, A)*)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    SortedSets
  138. def zcard(key: String): Future[Long]

    Definition Classes
    SortedSets
  139. def zcount(key: String, min: Limit = Limit(Double.NegativeInfinity), max: Limit = Limit(Double.PositiveInfinity)): Future[Long]

    Definition Classes
    SortedSets
  140. def zincrby[A](key: String, increment: Double, member: A)(implicit convert: RedisValueConverter[A]): Future[Double]

    Definition Classes
    SortedSets
  141. def zinterstore(destination: String, key: String, keys: Seq[String], aggregate: Aggregate = SUM): Future[Long]

    Definition Classes
    SortedSets
  142. def zinterstoreWeighted(destination: String, keys: Seq[(String, Double)], aggregate: Aggregate = SUM): Future[Long]

    Definition Classes
    SortedSets
  143. def zrange(key: String, start: Long, stop: Long): Future[Seq[ByteString]]

    Definition Classes
    SortedSets
  144. def zrangeWithscores(key: String, start: Long, stop: Long): Future[Seq[(ByteString, Double)]]

    Definition Classes
    SortedSets
  145. def zrangebyscore(key: String, min: Limit, max: Limit, limit: Option[(Long, Long)] = None): Future[Seq[ByteString]]

    Definition Classes
    SortedSets
  146. def zrangebyscoreWithscores(key: String, min: Limit, max: Limit, limit: Option[(Long, Long)] = None): Future[Seq[(ByteString, Double)]]

    Definition Classes
    SortedSets
  147. def zrank[A](key: String, member: A)(implicit convert: RedisValueConverter[A]): Future[Option[Long]]

    Definition Classes
    SortedSets
  148. def zrem[A](key: String, members: A*)(implicit convert: RedisValueConverter[A]): Future[Long]

    Definition Classes
    SortedSets
  149. def zremrangebyrank(key: String, start: Long, stop: Long): Future[Long]

    Definition Classes
    SortedSets
  150. def zremrangebyscore(key: String, min: Limit, max: Limit): Future[Long]

    Definition Classes
    SortedSets
  151. def zrevrange(key: String, start: Long, stop: Long): Future[Seq[ByteString]]

    Definition Classes
    SortedSets
  152. def zrevrangeWithscores(key: String, start: Long, stop: Long): Future[Seq[(ByteString, Double)]]

    Definition Classes
    SortedSets
  153. def zrevrangebyscore(key: String, min: Limit, max: Limit, limit: Option[(Long, Long)] = None): Future[Seq[ByteString]]

    Definition Classes
    SortedSets
  154. def zrevrangebyscoreWithscores(key: String, min: Limit, max: Limit, limit: Option[(Long, Long)] = None): Future[Seq[(ByteString, Double)]]

    Definition Classes
    SortedSets
  155. def zrevrank[A](key: String, member: A)(implicit convert: RedisValueConverter[A]): Future[Option[Long]]

    Definition Classes
    SortedSets
  156. def zscore[A](key: String, member: A)(implicit convert: RedisValueConverter[A]): Future[Option[Double]]

    Definition Classes
    SortedSets
  157. def zunionstore(destination: String, key: String, keys: Seq[String], aggregate: Aggregate = SUM): Future[Long]

    Definition Classes
    SortedSets
  158. def zunionstoreWeighted(destination: String, keys: Seq[(String, Double)], aggregate: Aggregate = SUM): Future[Long]

    Definition Classes
    SortedSets

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Transactions

Inherited from RedisCommands

Inherited from Server

Inherited from Connection

Inherited from Scripting

Inherited from Publish

Inherited from SortedSets

Inherited from Sets

Inherited from Lists

Inherited from Hashes

Inherited from Strings

Inherited from Keys

Inherited from Request

Inherited from AnyRef

Inherited from Any

Ungrouped