package protocol
- Alphabetic
- By Inheritance
- protocol
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class ArrayResponse (length: Int, buffer: ByteBuffer) extends Response with Product with Serializable
- case class Ask (hashSlot: Int, host: String, port: Int) extends ClusterError with Product with Serializable
- case class BulkStringResponse (valueOpt: Option[Array[Byte]]) extends Response with Product with Serializable
-
trait
Cluster
extends AnyRef
Marker trait for requests that make sense on any member of a cluster.
-
sealed
trait
ClusterError
extends AnyRef
Errors specific to cluster operation
- case class ClusterErrorResponse (error: ClusterError, message: String) extends Response with Product with Serializable
- abstract class Command extends AnyRef
- type Decoder[X] = PartialFunction[Response, X]
- case class ErrorResponse (value: String) extends Response with Product with Serializable
- case class IntegerResponse (value: Long) extends Response with Product with Serializable
-
trait
Key
extends AnyRef
A trait for requests which operate on at least one key.
A trait for requests which operate on at least one key. Needed to handle cluster sharding.
- case class Moved (hashSlot: Int, host: String, port: Int) extends ClusterError with Product with Serializable
- abstract class Request [A] extends AnyRef
- sealed trait Response extends AnyRef
- case class SimpleStringResponse (value: String) extends Response with Product with Serializable
- trait WriteCommand extends Command
- abstract class ZeroArgCommand extends Command
Value Members
-
object
ClusterCRC16
CRC16 Implementation according to CCITT standard Polynomial : 1021 (x16 + x12 + x^5 + 1) This implementation is based directly on the Jedis code for the same purpose.
CRC16 Implementation according to CCITT standard Polynomial : 1021 (x16 + x12 + x^5 + 1) This implementation is based directly on the Jedis code for the same purpose.
- See also
https://github.com/xetorthio/jedis/blob/master/src/main/java/redis/clients/util/JedisClusterCRC16.java
http://redis.io/topics/cluster-spec Appendix A. CRC16 reference implementation in ANSI C
- object ClusterDown extends ClusterError with Product with Serializable
- object CrossSlot extends ClusterError with Product with Serializable
-
object
Protocol
This object implements various aspects of the
Redis
protocol. - object TryAgain extends ClusterError with Product with Serializable