code: @Deprecated
     public HashConfigurationBuilder hash(Hash hash) {
        attributes.attribute(HASH).set(hash);
        return this;
     }
docs: The hash function in use. Used as a bit spreader and a general hash code generator. Typically
  used in conjunction with the many default
  {@link org.infinispan.distribution.ch.ConsistentHash} implementations shipped.
  
  NOTE: Currently Infinispan will not use the object instance, but instead instantiate a new
  instance of the class. Therefore, do not expect any state to survive, and provide a no-args
  constructor to any instance. This will be resolved in Infinispan 5.2.0
  @deprecated Since 8.2, use {@link #keyPartitioner(KeyPartitioner)} instead.