public interface KeyPartitioner
|Modifier and Type||Method and Description|
Obtains the segment for a key.
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 © 2018 JBoss, a division of Red Hat. All rights reserved.