Class HashFunctionPartitioner

    • Constructor Detail

      • HashFunctionPartitioner

        public HashFunctionPartitioner()
    • Method Detail

      • init

        public void init​(HashConfiguration configuration)
        Description copied from interface: KeyPartitioner

        The partitioner can also use injection to access other cache-level or global components. This method will be called before any other injection methods.

        Does not need to be thread-safe (Infinispan safely publishes the instance after initialization).

        Specified by:
        init in interface KeyPartitioner
      • getHash

        public org.infinispan.commons.hash.Hash getHash()
      • getSegmentEndHashes

        public List<Integer> getSegmentEndHashes()
      • hashCode

        public int hashCode()
        hashCode in class Object