public final class JedisClusterCRC16 extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getCRC16(byte[] bytes) |
static int |
getCRC16(byte[] bytes,
int s,
int e)
Create a CRC16 checksum from the bytes.
|
static int |
getCRC16(String key) |
static int |
getSlot(byte[] key) |
static int |
getSlot(String key) |
public static int getSlot(String key)
public static int getSlot(byte[] key)
public static int getCRC16(byte[] bytes,
int s,
int e)
bytes - s - e - public static int getCRC16(byte[] bytes)
public static int getCRC16(String key)
Copyright © 2020. All rights reserved.