public class JedisClusterCRC16 extends Object
Appendix A. CRC16 reference implementation in ANSI C
public static int getSlot(String key)
public static int getCRC16(byte[] bytes)
bytes
- https://github.com/xetorthio/jedis/pull/733#issuecomment-55840331
public static int getCRC16(String key)
Copyright © 2014. All rights reserved.