public interface KeyPartitioner
default void init(HashConfiguration configuration)
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).
int getSegment(Object key)
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.