Class SingleSegmentKeyPartitioner

java.lang.Object
org.infinispan.distribution.ch.impl.SingleSegmentKeyPartitioner
All Implemented Interfaces:
ToIntFunction<Object>, Matchable<KeyPartitioner>, KeyPartitioner

public class SingleSegmentKeyPartitioner extends Object implements KeyPartitioner
KeyPartitioner that always returns 0 for a given segment. This can be useful when segments are not in use, such as local or invalidation caches.
Since:
9.3
Author:
wburns