o

scredis.protocol

ClusterCRC16

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.

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

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

Value Members

  1. def getSlot(key: String): Int