Package

scredis

protocol

Permalink

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

Type Members

  1. case class ArrayResponse(length: Int, buffer: ByteBuffer) extends Response with Product with Serializable

    Permalink
  2. case class Ask(hashSlot: Int, host: String, port: Int) extends ClusterError with Product with Serializable

    Permalink
  3. case class BulkStringResponse(valueOpt: Option[Array[Byte]]) extends Response with Product with Serializable

    Permalink
  4. trait Cluster extends AnyRef

    Permalink

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

  5. sealed trait ClusterError extends AnyRef

    Permalink

    Errors specific to cluster operation

  6. case class ClusterErrorResponse(error: ClusterError, message: String) extends Response with Product with Serializable

    Permalink
  7. abstract class Command extends AnyRef

    Permalink
  8. type Decoder[X] = PartialFunction[Response, X]

    Permalink
  9. case class ErrorResponse(value: String) extends Response with Product with Serializable

    Permalink
  10. case class IntegerResponse(value: Long) extends Response with Product with Serializable

    Permalink
  11. trait Key extends AnyRef

    Permalink

    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.

  12. case class Moved(hashSlot: Int, host: String, port: Int) extends ClusterError with Product with Serializable

    Permalink
  13. abstract class Request[A] extends AnyRef

    Permalink
  14. sealed trait Response extends AnyRef

    Permalink
  15. case class SimpleStringResponse(value: String) extends Response with Product with Serializable

    Permalink
  16. trait WriteCommand extends Command

    Permalink
  17. abstract class ZeroArgCommand extends Command

    Permalink

Value Members

  1. object ClusterCRC16

    Permalink

    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

  2. object ClusterDown extends ClusterError with Product with Serializable

    Permalink
  3. object CrossSlot extends ClusterError with Product with Serializable

    Permalink
  4. object Protocol extends LazyLogging

    Permalink

    This object implements various aspects of the Redis protocol.

  5. object TryAgain extends ClusterError with Product with Serializable

    Permalink
  6. package requests

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped