p

scredis

package scredis

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scredis
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package commands
  2. package exceptions
  3. package io
  4. package protocol
  5. package serialization
  6. package util

Type Members

  1. sealed abstract class Aggregate extends AnyRef

    Represents the aggregation function to be used for aggregating scores when computing the union or intersection of sorted sets

  2. sealed abstract class BitOp extends AnyRef

    Base class of a BITOP operation

  3. class BlockingClient extends AkkaBlockingConnection with BlockingListCommands

    Defines a Redis client supporting all blocking commands.

  4. class Client extends AkkaNonBlockingConnection with ConnectionCommands with ServerCommands with KeyCommands with GeoCommands with StringCommands with HashCommands with ListCommands with SetCommands with SortedSetCommands with ScriptingCommands with HyperLogLogCommands with PubSubCommands with TransactionCommands

    Defines a Redis client supporting all non-blocking commands.

  5. sealed abstract class ClientType extends AnyRef

    Represents the type of a connected client

  6. case class ClusterNode(nodeId: String, server: Server, flags: Seq[String], master: Option[String], pingSent: Long, pongRecv: Long, configEpoch: Long, linkStateConnected: Boolean, slots: Seq[(Long, Long)]) extends Product with Serializable

    Information returned by CLUSTER NODES and CLUSTER SLAVES command.

    Information returned by CLUSTER NODES and CLUSTER SLAVES command.

    nodeId

    The node ID, a 40 characters random string generated when a node is created and never changed again ( unless CLUSTER RESET HARD is used).

    server

    The server (host and port) where clients should contact the node to run queries.

    flags

    A list of comma separated flags: myself, master, slave, fail?, fail, handshake, noaddr, noflags.

    master

    If the node is a slave, and the master is known, the master node ID, otherwise None

    pingSent

    Milliseconds unix time at which the currently active ping was sent, or zero if there are no pending pings.

    pongRecv

    Milliseconds unix time the last pong was received.

    configEpoch

    The configuration epoch (or version) of the current node (or of the current master if the node is a slave). Each time there is a failover, a new, unique, monotonically increasing configuration epoch is created. If multiple nodes claim to serve the same hash slots, the one with higher configuration epoch wins.

    linkStateConnected

    The state of the link used for the node-to-node cluster bus. We use this link to communicate with the node. True iff connected.

    slots

    Slot ranges served by this node.

  7. case class ClusterSlotRange(range: (Long, Long), master: ClusterSlotRangeNodeInfo, replicas: List[ClusterSlotRangeNodeInfo]) extends Product with Serializable

    Information about slot ranges returned by the CLUSTER SLOTS command.

    Information about slot ranges returned by the CLUSTER SLOTS command.

    range

    Range of slots covered by the nodes in his range

    master

    the master node for this slot range

    replicas

    replicas of the master

  8. case class ClusterSlotRangeNodeInfo(server: Server, nodeId: Option[String]) extends Product with Serializable

    Information about cluster node in slot range.

    Information about cluster node in slot range.

    server

    - server

    nodeId

    - optional id of node in cluster.

  9. final case class CommandFlags(set: HashSet[String]) extends Product with Serializable

    Helper class containing the flags of a command

  10. final case class CommandInfo(name: String, arity: Int, flags: CommandFlags, firstKeyPosition: Int, lastKeyPosition: Int, keyStepCount: Int) extends Product with Serializable

    Holds information about a Redis command.

    Holds information about a Redis command. This type is returned by the COMMAND and COMMAND INFO command

  11. sealed abstract class Condition extends AnyRef

    Represents a condition that can be passed to some Redis command, e.g.

    Represents a condition that can be passed to some Redis command, e.g. SET

  12. abstract class LexicalScoreLimit extends AnyRef

    Represents one end of a lexical interval as defined by sorted set commands

  13. sealed abstract class Position extends AnyRef

    Base class of a position used for the LINSERT command

  14. sealed trait PubSubMessage extends AnyRef

    Base trait for all pub/sub messages.

  15. class Redis extends AkkaNonBlockingConnection with ConnectionCommands with ServerCommands with KeyCommands with StringCommands with HashCommands with ListCommands with SetCommands with SortedSetCommands with ScriptingCommands with HyperLogLogCommands with PubSubCommands with TransactionCommands

    Defines a Redis scredis.Client supporting all non-blocking commands along with a lazily initialized scredis.BlockingClient and scredis.SubscriberClient.

  16. class RedisCluster extends ClusterConnection with Connection with ClusterCommands with HashCommands with HyperLogLogCommands with KeyCommands with ListCommands with PubSubCommands with ScriptingCommands with SetCommands with SortedSetCommands with StringCommands

    Defines a RedisCluster scredis.Client supporting all non-blocking commands that can be addressed to either any cluster node or be automatically routed to the correct node.

  17. class RedisConfig extends AnyRef

    Holds all configurable parameters.

    Holds all configurable parameters.

    See also

    reference.conf

  18. sealed abstract class Role extends AnyRef

    Represents the role of a Redis instance as returned by the ROLE command

  19. abstract class Score extends AnyRef

    Represents the score of sorted set member

  20. abstract class ScoreLimit extends AnyRef

    Represents one end of an interval as defined by sorted set commands

  21. case class Server(host: String, port: Int) extends Product with Serializable

    Connection information for a server node in a Redis cluster

    Connection information for a server node in a Redis cluster

    host

    host name or ip of the server

    port

    port of the server

  22. sealed abstract class ShutdownModifier extends AnyRef

    Represents a modifier that can be used with the SHUTDOWN command

  23. final case class SlowLogEntry(uid: Long, timestampSeconds: Long, executionTime: FiniteDuration, command: Seq[String], clientIpAddress: Option[String], clientName: Option[String]) extends Product with Serializable

    Represents an entry returned by the SLOWLOG GET command

  24. class SubscriberClient extends SubscriberAkkaConnection with SubscriberCommands

    Defines a Pub/Sub Redis client capable of subscribing to channels/patterns.

  25. type Subscription = (PubSubMessage) => Any
  26. final class TransactionBuilder extends Connection with NonBlockingConnection with ConnectionCommands with HashCommands with HyperLogLogCommands with KeyCommands with ListCommands with PubSubCommands with ScriptingCommands with ServerCommands with SetCommands with SortedSetCommands with StringCommands
  27. sealed abstract class Type extends AnyRef

    Represents the type of a Redis key

Value Members

  1. implicit val booleanWriter: Writer[Boolean]
  2. implicit val bytesWriter: Writer[Array[Byte]]
  3. implicit def doubleToScoreValue(value: Double): Value
  4. implicit val doubleWriter: Writer[Double]
  5. implicit def floatToScoreValue(value: Float): Value
  6. implicit val floatWriter: Writer[Float]
  7. implicit def intToScoreValue(value: Int): Value
  8. implicit val intWriter: Writer[Int]
  9. implicit val longWriter: Writer[Long]
  10. implicit def shortToScoreValue(value: Short): Value
  11. implicit val shortWriter: Writer[Short]
  12. implicit val stringReader: Reader[String]
  13. implicit val stringWriter: Writer[String]
  14. object Aggregate

    Contains all available aggregation functions

  15. object BitOp

    Contains all available BITOP operations, i.e.

    Contains all available BITOP operations, i.e. AND, OR, XOR and NOT

  16. object BlockingClient

    The companion object provides additional friendly constructors.

  17. case object BuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  18. object Client

    The companion object provides additional friendly constructors.

  19. object ClientType

    Contains all available client types, i.e.

    Contains all available client types, i.e. normal, slave, pubsub

  20. object Condition

    Contains all available conditions

  21. object LexicalScoreLimit

    Contains all possible lexical score limits, i.e.

    Contains all possible lexical score limits, i.e. -, +, inclusive value and exclusive value

  22. object Position

    Contains all available positions, i.e.

    Contains all available positions, i.e. BEFORE and AFTER

  23. object PubSubMessage

    Contains all pub/sub messages.

  24. object Redis

    The companion object provides additional friendly constructors.

  25. object RedisCluster

  26. object RedisConfig
  27. object RedisConfigDefaults extends LazyLogging
  28. object Role

    Contains all available roles, i.e.

    Contains all available roles, i.e. master, slave, sentinel

  29. object Score

    Contains all possible score values, i.e.

    Contains all possible score values, i.e. -inf, +inf or value

  30. object ScoreLimit

    Contains all possible score limit values, i.e.

    Contains all possible score limit values, i.e. -inf, +inf, inclusive value and exclusive value

  31. object ShutdownModifier

    Contains all available SHUTDOWN modifier, i.e.

    Contains all available SHUTDOWN modifier, i.e. SAVE, NO SAVE

  32. object SubscriberClient

    The companion object provides additional friendly constructors.

  33. object Type

    Contains all available Redis types, i.e.

    Contains all available Redis types, i.e. string, list, set, zset and hash

Inherited from AnyRef

Inherited from Any

Ungrouped