Package

com.twitter.finagle.redis

protocol

Permalink

package protocol

Visibility
  1. Public
  2. All

Type Members

  1. case class AddSlots(slots: Seq[Int]) extends Cluster with Product with Serializable

    Permalink
  2. sealed abstract class Aggregate extends Command with CommandArgument

    Permalink
  3. case class Append(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  4. case class Auth(code: Buf) extends Command with Product with Serializable

    Permalink
  5. case class BitCount(key: Buf, start: Option[Int] = None, end: Option[Int] = None) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  6. case class BitOp(op: Buf, dstKey: Buf, srcKeys: Seq[Buf]) extends Command with Product with Serializable

    Permalink
  7. case class BulkReply(message: Buf) extends MultiLineReply with Product with Serializable

    Permalink
  8. abstract class Cluster extends Command

    Permalink
  9. case class ClusterInfo() extends Cluster with Product with Serializable

    Permalink
  10. case class ClusterNode(addr: InetSocketAddress, id: Option[String], flags: Seq[String]) extends Product with Serializable

    Permalink
  11. case class ClusterSlots() extends Cluster with Product with Serializable

    Permalink
  12. abstract class Command extends AnyRef

    Permalink

    Redis command.

    Redis command.

    See also

    http://redis.io/commands

  13. trait CommandArgument extends Command

    Permalink
  14. abstract class Config extends Command

    Permalink
  15. case class ConfigGet(param: Buf) extends Config with Product with Serializable

    Permalink
  16. case class ConfigResetStat() extends Config with Product with Serializable

    Permalink
  17. case class ConfigSet(param: Buf, value: Buf) extends Config with Product with Serializable

    Permalink
  18. case class Decr(key: Buf) extends DecrBy with Product with Serializable

    Permalink
  19. class DecrBy extends Command with StrictKeyCommand

    Permalink
  20. case class Del(keys: Seq[Buf]) extends Command with StrictKeysCommand with Product with Serializable

    Permalink
  21. case class Dump(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  22. case class ErrorReply(message: String) extends SingleLineReply with Product with Serializable

    Permalink
  23. case class Eval(script: Buf, keys: Seq[Buf], argv: Seq[Buf]) extends Command with ScriptCommand with KeysCommand with Product with Serializable

    Permalink
  24. case class EvalSha(sha: Buf, keys: Seq[Buf], argv: Seq[Buf]) extends Command with ScriptDigestCommand with KeysCommand with Product with Serializable

    Permalink
  25. case class Exists(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  26. case class Expire(key: Buf, seconds: Long) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  27. case class ExpireAt(key: Buf, timestamp: Time) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  28. case class Get(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  29. case class GetBit(key: Buf, offset: Int) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  30. case class GetKeysInSlot(slot: Int, count: Int) extends Cluster with Product with Serializable

    Permalink
  31. case class GetRange(key: Buf, start: Long, end: Long) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  32. case class GetSet(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  33. case class HDel(key: Buf, fields: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  34. case class HExists(key: Buf, field: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  35. case class HGet(key: Buf, field: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  36. case class HGetAll(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  37. case class HIncrBy(key: Buf, field: Buf, amount: Long) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  38. case class HKeys(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  39. case class HLen(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  40. case class HMGet(key: Buf, fields: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  41. case class HMSet(key: Buf, fv: Map[Buf, Buf]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  42. case class HMSetEx(key: Buf, fv: Map[Buf, Buf], milliseconds: Long) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  43. case class HMergeEx(key: Buf, fv: Map[Buf, Buf], milliseconds: Long) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  44. case class HScan(key: Buf, cursor: Long, count: Option[Long] = None, pattern: Option[Buf] = None) extends Command with Product with Serializable

    Permalink
  45. case class HSet(key: Buf, field: Buf, value: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  46. case class HSetNx(key: Buf, field: Buf, value: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  47. case class HStrlen(key: Buf, field: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  48. case class HVals(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  49. case class InMilliseconds(millis: Long) extends TimeToLive with Product with Serializable

    Permalink
  50. case class InSeconds(seconds: Long) extends TimeToLive with Product with Serializable

    Permalink
  51. case class Incr(key: Buf) extends IncrBy with Product with Serializable

    Permalink
  52. class IncrBy extends Command with StrictKeyCommand

    Permalink
  53. case class Info(section: Buf) extends Command with Product with Serializable

    Permalink
  54. case class IntegerReply(id: Long) extends SingleLineReply with Product with Serializable

    Permalink
  55. trait KeyCommand extends Command

    Permalink
  56. case class Keys(pattern: Buf) extends Command with Product with Serializable

    Permalink
  57. trait KeysCommand extends Command

    Permalink
  58. case class LIndex(key: Buf, index: Long) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  59. case class LInsert(key: Buf, relativePosition: String, pivot: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  60. case class LLen(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  61. case class LPop(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  62. case class LPush(key: Buf, values: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  63. case class LRange(key: Buf, start: Long, end: Long) extends Command with ListRangeCommand with Product with Serializable

    Permalink
  64. case class LRem(key: Buf, count: Long, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  65. case class LSet(key: Buf, index: Long, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  66. case class LTrim(key: Buf, start: Long, end: Long) extends Command with ListRangeCommand with Product with Serializable

    Permalink
  67. case class Limit(offset: Long, count: Long) extends Command with CommandArgument with Product with Serializable

    Permalink
  68. trait ListRangeCommand extends Command with StrictKeyCommand

    Permalink
  69. case class MBulkReply(messages: List[Reply]) extends MultiLineReply with Product with Serializable

    Permalink
  70. case class MGet(keys: Seq[Buf]) extends Command with StrictKeysCommand with Product with Serializable

    Permalink
  71. case class MSet(kv: Map[Buf, Buf]) extends Command with MultiSet with Product with Serializable

    Permalink
  72. case class MSetNx(kv: Map[Buf, Buf]) extends Command with MultiSet with Product with Serializable

    Permalink
  73. case class Meet(addr: InetSocketAddress) extends Cluster with Product with Serializable

    Permalink
  74. trait MemberCommand extends Command

    Permalink
  75. case class Migrate(addr: InetSocketAddress, keys: Seq[Buf], timeout: Duration) extends Command with Product with Serializable

    Permalink
  76. case class Move(key: Buf, db: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  77. sealed abstract class MultiLineReply extends Reply

    Permalink
  78. trait MultiSet extends Command with KeysCommand

    Permalink
  79. case class Nodes() extends Cluster with Product with Serializable

    Permalink
  80. case class PExpire(key: Buf, milliseconds: Long) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  81. case class PExpireAt(key: Buf, timestamp: Time) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  82. case class PFAdd(key: Buf, elements: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  83. case class PFCount(keys: Seq[Buf]) extends Command with StrictKeysCommand with Product with Serializable

    Permalink
  84. case class PFMerge(destKey: Buf, srcKeys: Seq[Buf]) extends Command with Product with Serializable

    Permalink
  85. case class PSetEx(key: Buf, millis: Long, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  86. case class PSubscribe(patterns: Seq[Buf], handler: SubscribeHandler) extends SubscribeCommand with Product with Serializable

    Permalink
  87. case class PTtl(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  88. case class PUnsubscribe(patterns: Seq[Buf], handler: SubscribeHandler) extends SubscribeCommand with Product with Serializable

    Permalink
  89. case class Persist(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  90. abstract class PubSub extends Command

    Permalink
  91. case class PubSubChannels(pattern: Option[Buf]) extends PubSub with Product with Serializable

    Permalink
  92. case class PubSubNumSub(channels: Seq[Buf]) extends PubSub with Product with Serializable

    Permalink
  93. case class Publish(key: Buf, message: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  94. case class RPop(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  95. case class RPush(key: Buf, values: List[Buf]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  96. case class Rename(key: Buf, newkey: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  97. case class RenameNx(key: Buf, newkey: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  98. case class Replicate(nodeId: String) extends Cluster with Product with Serializable

    Permalink
  99. sealed abstract class Reply extends AnyRef

    Permalink
  100. case class SAdd(key: Buf, values: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  101. case class SCard(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  102. case class SInter(keys: Seq[Buf]) extends Command with StrictKeysCommand with Product with Serializable

    Permalink
  103. case class SIsMember(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  104. case class SMembers(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  105. case class SPop(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  106. case class SRandMember(key: Buf, count: Option[Int] = None) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  107. case class SRem(key: Buf, values: List[Buf]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  108. case class SScan(key: Buf, cursor: Long, count: Option[Long] = None, pattern: Option[Buf] = None) extends Command with Product with Serializable

    Permalink
  109. case class Scan(cursor: Long, count: Option[Long] = None, pattern: Option[Buf] = None) extends Command with Product with Serializable

    Permalink
  110. trait ScriptCommand extends Command

    Permalink
  111. trait ScriptDigestCommand extends Command

    Permalink
  112. case class ScriptExists(digests: Seq[Buf]) extends Command with Product with Serializable

    Permalink
  113. case class ScriptLoad(script: Buf) extends Command with ScriptCommand with Product with Serializable

    Permalink
  114. case class Select(index: Int) extends Command with Product with Serializable

    Permalink
  115. abstract class Sentinel extends Command

    Permalink
  116. case class SentinelCkQuorum(arg: String) extends Sentinel with Product with Serializable

    Permalink
  117. case class SentinelFailover(arg: String) extends Sentinel with Product with Serializable

    Permalink
  118. case class SentinelGetMasterAddrByName(arg: String) extends Sentinel with Product with Serializable

    Permalink
  119. case class SentinelMaster(arg: String) extends Sentinel with Product with Serializable

    Permalink
  120. case class SentinelMonitor(arg: String, ip: String, port: Int, quorum: Int) extends Sentinel with Product with Serializable

    Permalink
  121. case class SentinelRemove(arg: String) extends Sentinel with Product with Serializable

    Permalink
  122. case class SentinelReset(pattern: String) extends Sentinel with Product with Serializable

    Permalink
  123. case class SentinelSentinels(arg: String) extends Sentinel with Product with Serializable

    Permalink
  124. case class SentinelSet(arg: String, option: String, value: String) extends Sentinel with Product with Serializable

    Permalink
  125. case class SentinelSlaves(arg: String) extends Sentinel with Product with Serializable

    Permalink
  126. case class Set(key: Buf, value: Buf, ttl: Option[TimeToLive] = None, nx: Boolean = false, xx: Boolean = false) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  127. case class SetBit(key: Buf, offset: Int, value: Int) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  128. case class SetEx(key: Buf, seconds: Long, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  129. case class SetNx(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  130. case class SetRange(key: Buf, offset: Int, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  131. case class SetSlot(command: SetSlotState, slot: Int, nodeId: Option[String]) extends Cluster with Product with Serializable

    Permalink
  132. sealed trait SetSlotState extends AnyRef

    Permalink
  133. sealed abstract class SingleLineReply extends Reply

    Permalink
  134. case class SlaveOf(host: Buf, port: Buf) extends Command with Product with Serializable

    Permalink
  135. case class Slots(start: Int, end: Int, master: ClusterNode, replicas: Seq[ClusterNode]) extends Product with Serializable

    Permalink
  136. case class StatusReply(message: String) extends SingleLineReply with Product with Serializable

    Permalink
  137. trait StrictKeyCommand extends Command with KeyCommand

    Permalink
  138. trait StrictKeysCommand extends Command with KeysCommand

    Permalink
  139. trait StrictMemberCommand extends Command with MemberCommand

    Permalink
  140. trait StrictValueCommand extends Command with ValueCommand

    Permalink
  141. case class Strlen(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  142. case class Subscribe(channels: Seq[Buf], handler: SubscribeHandler) extends SubscribeCommand with Product with Serializable

    Permalink
  143. abstract class SubscribeCommand extends Command

    Permalink
  144. sealed trait TimeToLive extends AnyRef

    Permalink
  145. case class TopologyAdd(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable

    Permalink
  146. case class TopologyDelete(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  147. case class TopologyGet(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  148. case class Ttl(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  149. case class Type(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  150. case class Unsubscribe(channels: Seq[Buf], handler: SubscribeHandler) extends SubscribeCommand with Product with Serializable

    Permalink
  151. trait ValueCommand extends Command

    Permalink
  152. case class Watch(keys: Seq[Buf]) extends Command with KeysCommand with Product with Serializable

    Permalink
  153. class Weights extends Command with CommandArgument with IndexedSeq[Double]

    Permalink
  154. case class ZAdd(key: Buf, members: Seq[ZMember]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  155. case class ZCard(key: Buf) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  156. case class ZCount(key: Buf, min: ZInterval, max: ZInterval) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  157. case class ZIncrBy(key: Buf, amount: Double, member: Buf) extends Command with StrictKeyCommand with StrictMemberCommand with Product with Serializable

    Permalink
  158. case class ZInterStore(destination: Buf, numkeys: Int, keys: Seq[Buf], weights: Option[Weights] = None, aggregate: Option[Aggregate] = None) extends ZStore with Product with Serializable

    Permalink
  159. case class ZInterval(value: String) extends Product with Serializable

    Permalink

    Represents part of an interval, helpers in companion object See http://redis.io/commands/zrangebyscore for more info on different intervals

  160. case class ZMember(score: Double, member: Buf) extends Product with Serializable

    Permalink
  161. case class ZRange(key: Buf, start: Long, stop: Long, withScores: Option[CommandArgument] = None) extends ZRangeCmd with Product with Serializable

    Permalink
  162. case class ZRangeByScore(key: Buf, min: ZInterval, max: ZInterval, withScores: Option[CommandArgument] = None, limit: Option[Limit] = None) extends Command with ZScoredRange with Product with Serializable

    Permalink
  163. abstract class ZRangeCmd extends Command with StrictKeyCommand

    Permalink
  164. case class ZRangeResults(entries: Array[Buf], scores: Array[Double]) extends Product with Serializable

    Permalink

    Helper Objects

  165. case class ZRank(key: Buf, member: Buf) extends ZRankCmd with Product with Serializable

    Permalink
  166. abstract class ZRankCmd extends Command with StrictKeyCommand with StrictMemberCommand

    Permalink
  167. case class ZRem(key: Buf, members: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  168. case class ZRemRangeByRank(key: Buf, start: Long, stop: Long) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  169. case class ZRemRangeByScore(key: Buf, min: ZInterval, max: ZInterval) extends Command with StrictKeyCommand with Product with Serializable

    Permalink
  170. case class ZRevRange(key: Buf, start: Long, stop: Long, withScores: Option[CommandArgument] = None) extends ZRangeCmd with Product with Serializable

    Permalink
  171. case class ZRevRangeByScore(key: Buf, max: ZInterval, min: ZInterval, withScores: Option[CommandArgument] = None, limit: Option[Limit] = None) extends Command with ZScoredRange with Product with Serializable

    Permalink
  172. case class ZRevRank(key: Buf, member: Buf) extends ZRankCmd with Product with Serializable

    Permalink
  173. case class ZScan(key: Buf, cursor: Long, count: Option[Long] = None, pattern: Option[Buf] = None) extends Command with Product with Serializable

    Permalink
  174. case class ZScore(key: Buf, member: Buf) extends Command with StrictKeyCommand with StrictMemberCommand with Product with Serializable

    Permalink
  175. trait ZScoredRange extends Command with KeyCommand

    Permalink
  176. abstract class ZStore extends Command with KeysCommand

    Permalink

    Helper Traits

  177. case class ZUnionStore(destination: Buf, numkeys: Int, keys: Seq[Buf], weights: Option[Weights] = None, aggregate: Option[Aggregate] = None) extends ZStore with Product with Serializable

    Permalink

Value Members

  1. object Aggregate

    Permalink
  2. object BitOp extends Serializable

    Permalink
  3. object ClusterNode extends Serializable

    Permalink
  4. object Command

    Permalink
  5. object DBSize extends Command with Product with Serializable

    Permalink
  6. object DecrBy

    Permalink
  7. object Discard extends Command with Product with Serializable

    Permalink
  8. object EmptyBulkReply extends MultiLineReply with Product with Serializable

    Permalink
  9. object EmptyMBulkReply extends MultiLineReply with Product with Serializable

    Permalink
  10. object Exec extends Command with Product with Serializable

    Permalink
  11. object FlushAll extends Command with Product with Serializable

    Permalink
  12. object FlushDB extends Command with Product with Serializable

    Permalink
  13. object IncrBy

    Permalink
  14. object Multi extends Command with Product with Serializable

    Permalink
  15. object NilMBulkReply extends MultiLineReply with Product with Serializable

    Permalink
  16. object NoReply extends Reply with Product with Serializable

    Permalink
  17. object Ping extends Command with Product with Serializable

    Permalink
  18. object PubSubNumPat extends PubSub with Product with Serializable

    Permalink
  19. object Quit extends Command with Product with Serializable

    Permalink
  20. object Randomkey extends Command with Product with Serializable

    Permalink
  21. object Reply

    Permalink
  22. object RequireClientProtocol extends ErrorConversion

    Permalink
  23. object RequireServerProtocol extends ErrorConversion

    Permalink
  24. object ScriptFlush extends Command

    Permalink
  25. object SentinelFlushConfig extends Sentinel with Product with Serializable

    Permalink
  26. object SentinelMasters extends Sentinel with Product with Serializable

    Permalink
  27. object Set extends Serializable

    Permalink
  28. object SetSlotState

    Permalink
  29. object UnWatch extends Command with Product with Serializable

    Permalink
  30. object Watch extends Serializable

    Permalink
  31. object Weights

    Permalink
  32. object WithScores extends Command with CommandArgument with Product with Serializable

    Permalink
  33. object ZInterStore extends Serializable

    Permalink
  34. object ZInterval extends Serializable

    Permalink
  35. object ZRange extends Serializable

    Permalink
  36. object ZRangeByScore extends Serializable

    Permalink
  37. object ZRangeResults extends Serializable

    Permalink
  38. object ZUnionStore extends Serializable

    Permalink
  39. package commands

    Permalink

Ungrouped