public class JedisClusterCRC16 extends Object
Appendix A. CRC16 reference implementation in ANSI C| Constructor and Description |
|---|
JedisClusterCRC16() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getCRC16(byte[] bytes)
Create a CRC16 checksum from the bytes.
|
static int |
getCRC16(String key) |
static int |
getSlot(String key) |
public static int getSlot(String key)
public static int getCRC16(byte[] bytes)
bytes - https://github.com/xetorthio/jedis/pull/733#issuecomment-55840331public static int getCRC16(String key)
Copyright © 2025. All rights reserved.