public static interface ConsistentHash.Hash<T>
This hash function need not produce a very uniform distribution, as the output is rehashed with MD5. But it does need to make sure it doesn't produce the same value for two different 'T's (and that's why this returns String, not the usual int.)
Copyright © 2004–2017. All rights reserved.