object
ClusterCRC16
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getSlot(key: String): Int
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
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.
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