scredis
package scredis
- Alphabetic
- By Inheritance
- scredis
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Package Members
Type Members
- 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
- sealed abstract class BitOp extends AnyRef
Base class of a BITOP operation
- class BlockingClient extends AkkaBlockingConnection with BlockingListCommands
Defines a Redis client supporting all blocking commands.
- 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.
- sealed abstract class ClientType extends AnyRef
Represents the type of a connected client
- 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.
- 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
- 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.
- final case class CommandFlags(set: HashSet[String]) extends Product with Serializable
Helper class containing the flags of a command
- 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 - 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
- abstract class LexicalScoreLimit extends AnyRef
Represents one end of a lexical interval as defined by sorted set commands
- sealed abstract class Position extends AnyRef
Base class of a position used for the LINSERT command
- sealed trait PubSubMessage extends AnyRef
Base trait for all pub/sub messages.
- 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. - 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. - class RedisConfig extends AnyRef
Holds all configurable parameters.
Holds all configurable parameters.
- See also
reference.conf
- sealed abstract class Role extends AnyRef
Represents the role of a
Redis
instance as returned by the ROLE command - abstract class Score extends AnyRef
Represents the score of sorted set member
- abstract class ScoreLimit extends AnyRef
Represents one end of an interval as defined by sorted set commands
- 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
- sealed abstract class ShutdownModifier extends AnyRef
Represents a modifier that can be used with the SHUTDOWN command
- 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
- class SubscriberClient extends SubscriberAkkaConnection with SubscriberCommands
Defines a Pub/Sub Redis client capable of subscribing to channels/patterns.
- type Subscription = PartialFunction[PubSubMessage, Any]
- 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
- sealed abstract class Type extends AnyRef
Represents the type of a
Redis
key
Value Members
- implicit val booleanWriter: Writer[Boolean]
- implicit val bytesWriter: Writer[Array[Byte]]
- implicit def doubleToScoreValue(value: Double): Value
- implicit val doubleWriter: Writer[Double]
- implicit def floatToScoreValue(value: Float): Value
- implicit val floatWriter: Writer[Float]
- implicit def intToScoreValue(value: Int): Value
- implicit val intWriter: Writer[Int]
- implicit def longToScoreValue(value: Long): Value
- implicit val longWriter: Writer[Long]
- implicit def shortToScoreValue(value: Short): Value
- implicit val shortWriter: Writer[Short]
- implicit val stringReader: Reader[String]
- implicit val stringWriter: Writer[String]
- object Aggregate
Contains all available aggregation functions
- object BitOp
Contains all available BITOP operations, i.e.
Contains all available BITOP operations, i.e. AND, OR, XOR and NOT
- object BlockingClient
The companion object provides additional friendly constructors.
- object BuildInfo extends Product with Serializable
This object was generated by sbt-buildinfo.
- object Client
The companion object provides additional friendly constructors.
- object ClientType
Contains all available client types, i.e.
Contains all available client types, i.e. normal, slave, pubsub
- object Condition
Contains all available conditions
- object LexicalScoreLimit
Contains all possible lexical score limits, i.e.
Contains all possible lexical score limits, i.e. -, +, inclusive value and exclusive value
- object Position
Contains all available positions, i.e.
Contains all available positions, i.e. BEFORE and AFTER
- object PubSubMessage
Contains all pub/sub messages.
- object Redis
The companion object provides additional friendly constructors.
- object RedisCluster
- object RedisConfig
- object RedisConfigDefaults
- object Role
Contains all available roles, i.e.
Contains all available roles, i.e. master, slave, sentinel
- object Score
Contains all possible score values, i.e.
Contains all possible score values, i.e. -inf, +inf or value
- 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
- object ShutdownModifier
Contains all available SHUTDOWN modifier, i.e.
Contains all available SHUTDOWN modifier, i.e. SAVE, NO SAVE
- object SubscriberClient
The companion object provides additional friendly constructors.
- object Type
Contains all available
Redis
types, i.e.Contains all available
Redis
types, i.e. string, list, set, zset and hash