code = hf.hashObject(new Person(1, "Jiyun", "Xie", 1985), PersonFunnel.INSTANCE);
System.out.println("Code2 => " + code.asInt());
// Consistent Hashing
HashFunction hf2 = Hashing.goodFastHash(64);
code = hf2.hashObject(new Person(1, "Jiyun", "Xie", 1984), PersonFunnel.INSTANCE);
System.out.println("Code3 => " + code.asLong());
long hash = code.asLong();
int bucket = Hashing.consistentHash(code, 100);
System.out.println("Bucket1 => " + bucket);
bucket = Hashing.consistentHash(hash, 101);
System.out.println("Bucket2 => " + bucket);