Package redis.clients.jedis.util
Interface Hashing
-
- All Known Implementing Classes:
MurmurHash
public interface Hashing
-
-
Field Summary
Fields Modifier and Type Field Description static HashingMD5static ThreadLocal<MessageDigest>md5Holderstatic HashingMURMUR_HASH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longhash(byte[] key)longhash(String key)
-
-
-
Field Detail
-
MURMUR_HASH
static final Hashing MURMUR_HASH
-
md5Holder
static final ThreadLocal<MessageDigest> md5Holder
-
MD5
static final Hashing MD5
-
-
Method Detail
-
hash
long hash(String key)
-
hash
long hash(byte[] key)
-
-