Packages

p

scredis

protocol

package protocol

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

Package Members

  1. package requests

Type Members

  1. case class ArrayResponse(length: Int, buffer: ByteBuffer) extends Response with Product with Serializable
  2. case class Ask(hashSlot: Int, host: String, port: Int) extends ClusterError with Product with Serializable
  3. case class AuthConfig(username: Option[String], password: String) extends Product with Serializable
  4. case class BulkStringResponse(valueOpt: Option[Array[Byte]]) extends Response with Product with Serializable
  5. trait Cluster extends AnyRef

    Marker trait for requests that make sense on any member of a cluster.

  6. sealed trait ClusterError extends AnyRef

    Errors specific to cluster operation

  7. case class ClusterErrorResponse(error: ClusterError, message: String) extends Response with Product with Serializable
  8. abstract class Command extends AnyRef
  9. type Decoder[X] = PartialFunction[Response, X]
  10. case class ErrorResponse(value: String) extends Response with Product with Serializable
  11. case class IntegerResponse(value: Long) extends Response with Product with Serializable
  12. 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.

  13. case class Moved(hashSlot: Int, host: String, port: Int) extends ClusterError with Product with Serializable
  14. abstract class Request[A] extends AnyRef
  15. sealed trait Response extends AnyRef
  16. case class SimpleStringResponse(value: String) extends Response with Product with Serializable
  17. trait WriteCommand extends Command
  18. abstract class ZeroArgCommand extends Command

Value Members

  1. 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

    http://redis.io/topics/cluster-spec Appendix A. CRC16 reference implementation in ANSI C

    https://github.com/xetorthio/jedis/blob/master/src/main/java/redis/clients/util/JedisClusterCRC16.java

  2. case object ClusterDown extends ClusterError with Product with Serializable
  3. case object CrossSlot extends ClusterError with Product with Serializable
  4. object Protocol extends LazyLogging

    This object implements various aspects of the Redis protocol.

  5. case object TryAgain extends ClusterError with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped