com.senseidb.cluster.routing
Interface HashProvider

All Known Implementing Classes:
MD5HashProvider

public interface HashProvider


Method Summary
 long hash(String key)
          Hash the key into a long.
 

Method Detail

hash

long hash(String key)
Hash the key into a long.

Parameters:
key - the key to be hashed
Returns:
the hash code of the key


Copyright © 2010-2012. All Rights Reserved.