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–2020. All rights reserved.