Class RESPHashFunctionPartitioner

java.lang.Object
org.infinispan.distribution.ch.impl.HashFunctionPartitioner
org.infinispan.distribution.ch.impl.RESPHashFunctionPartitioner
All Implemented Interfaces:
ToIntFunction<Object>, Matchable<KeyPartitioner>, KeyPartitioner

public class RESPHashFunctionPartitioner extends HashFunctionPartitioner
Implementation of HashFunctionPartitioner using CRC16 for use with RESP. Note that RESP only has 14 bits worth of slots and uses remainder based bucket allocation. Due to this we have to treat it as having only 14 bits for a hash
Since:
15.0
See Also: