MCPcopy Create free account
hub / github.com/RJ/ketama / calculateHash

Method calculateHash

java_ketama/SockIOPool.java:211–227  ·  view source on GitHub ↗

NATIVE_HASH = 0 OLD_COMPAT_HASH = 1 NEW_COMPAT_HASH = 2 KETAMA_HASH = 3 @param key @return

(String key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getSockMethod · 0.95
getSockNewHashMethod · 0.95

Calls 4

origCompatHashingAlgMethod · 0.95
newCompatHashingAlgMethod · 0.95
md5HashingAlgMethod · 0.95
hashCodeMethod · 0.80

Tested by

no test coverage detected