Package redis.clients.jedis.util
Interface Hashing
-
- All Known Implementing Classes:
MurmurHash
public interface Hashing
-
-
Field Summary
Fields Modifier and Type Field Description static Hashing
MD5
static ThreadLocal<MessageDigest>
md5Holder
static Hashing
MURMUR_HASH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
hash(byte[] key)
long
hash(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)
-
-