Class SingleSegmentKeyPartitioner

  • All Implemented Interfaces:
    ToIntFunction<Object>, org.infinispan.commons.configuration.attributes.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