Class GroupingPartitioner
java.lang.Object
org.infinispan.distribution.group.impl.GroupingPartitioner
- All Implemented Interfaces:
ToIntFunction<Object>,Matchable<KeyPartitioner>,KeyPartitioner
Key partitioner that uses
Group annotations to map
grouped keys to the same segment.- Since:
- 8.2
- Author:
- Dan Berindei
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetSegment(Object key) Obtains the segment for a key.unwrap()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.distribution.ch.KeyPartitioner
applyAsInt, init, init, matches
-
Constructor Details
-
GroupingPartitioner
-
-
Method Details
-
getSegment
Description copied from interface:KeyPartitionerObtains the segment for a key. Must be thread-safe.- Specified by:
getSegmentin interfaceKeyPartitioner
-
unwrap
-