JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
net.spy.memcached
HashAlgorithm
Contents
Description
Method Summary
Method Details
hash(String)
Hide sidebar
Show sidebar
Interface HashAlgorithm
All Known Implementing Classes:
DefaultHashAlgorithm
public interface
HashAlgorithm
Intents to provide hash for locating a server for a key.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
long
hash
(
String
k)
Compute the hash for the given key.
Method Details
hash
long
hash
(
String
k)
Compute the hash for the given key.
Returns:
a positive integer hash