Uses of Interface
org.infinispan.distribution.ch.KeyPartitioner
Package
Description
Commands that operate on the cache, either locally or remotely.
Cache
configurationData containers which store cache entries.
Classes relating to the distributed cache mode.
Consistent Hash interfaces
Persistence API.
The Persistence SPI.
Query module internals.
-
Uses of KeyPartitioner in org.infinispan.cache.impl
-
Uses of KeyPartitioner in org.infinispan.commands
Modifier and TypeMethodDescriptionstatic int
SegmentSpecificCommand.extractSegment
(ReplicableCommand command, Object key, KeyPartitioner keyPartitioner) Utility to extract the segment from a given command that may be aSegmentSpecificCommand
.static <K> SegmentAwareKey<K>
SegmentSpecificCommand.extractSegmentAwareKey
(ReplicableCommand command, K key, KeyPartitioner keyPartitioner) Create anSegmentAwareKey
instance with the key and its segment. -
Uses of KeyPartitioner in org.infinispan.configuration.cache
Modifier and TypeFieldDescriptionstatic final AttributeDefinition<KeyPartitioner>
HashConfiguration.KEY_PARTITIONER
Modifier and TypeMethodDescriptionHashConfigurationBuilder.keyPartitioner
(KeyPartitioner keyPartitioner) Key partitioner, controlling the mapping of keys to hash segments. -
Uses of KeyPartitioner in org.infinispan.container.impl
Modifier and TypeFieldDescriptionprotected KeyPartitioner
AbstractInternalDataContainer.keyPartitioner
-
Uses of KeyPartitioner in org.infinispan.distribution
Modifier and TypeMethodDescriptionstatic LocalizedCacheTopology
LocalizedCacheTopology.makeSegmentedSingletonTopology
(KeyPartitioner keyPartitioner, int numSegments, Address localAddress) Creates a new local topology that has a single address but multiple segments.ModifierConstructorDescriptionLocalizedCacheTopology
(CacheMode cacheMode, CacheTopology cacheTopology, KeyPartitioner keyPartitioner, Address localAddress, boolean connected) -
Uses of KeyPartitioner in org.infinispan.distribution.ch
Modifier and TypeMethodDescriptiondefault void
KeyPartitioner.init
(KeyPartitioner other) default boolean
KeyPartitioner.matches
(KeyPartitioner other) -
Uses of KeyPartitioner in org.infinispan.distribution.ch.impl
Modifier and TypeClassDescriptionclass
Key partitioner that maps keys to segments using information contained inAffinityTaggedKey
.class
Key partitioner that computes a key's segment based on a hash function.class
KeyPartitioner that always returns 0 for a given segment. -
Uses of KeyPartitioner in org.infinispan.distribution.group.impl
Modifier and TypeClassDescriptionclass
Key partitioner that usesGroup
annotations to map grouped keys to the same segment.ModifierConstructorDescriptionGroupingPartitioner
(KeyPartitioner partitioner, GroupManager groupManager) -
Uses of KeyPartitioner in org.infinispan.distribution.impl
Modifier and TypeMethodDescriptionstatic LocalizedCacheTopology
DistributionManagerImpl.makeSingletonTopology
(CacheMode cacheMode, KeyPartitioner keyPartitioner, int numSegments, Address localAddress) -
Uses of KeyPartitioner in org.infinispan.expiration.impl
-
Uses of KeyPartitioner in org.infinispan.persistence
ModifierConstructorDescriptionInitializationContextImpl
(StoreConfiguration configuration, Cache cache, KeyPartitioner keyPartitioner, PersistenceMarshaller marshaller, TimeService timeService, ByteBufferFactory byteBufferFactory, MarshallableEntryFactory marshallableEntryFactory, Executor nonBlockingExecutor, GlobalConfiguration globalConfiguration, BlockingManager blockingManager, NonBlockingManager nonBlockingManager) -
Uses of KeyPartitioner in org.infinispan.persistence.internal
Modifier and TypeMethodDescriptionstatic <K> Predicate<? super K>
PersistenceUtil.combinePredicate
(IntSet segments, KeyPartitioner keyPartitioner, Predicate<? super K> filter) -
Uses of KeyPartitioner in org.infinispan.persistence.spi
Modifier and TypeMethodDescriptionInitializationContext.getKeyPartitioner()
The configured partitioner that can be used to determine which segment a given key belongs to. -
Uses of KeyPartitioner in org.infinispan.persistence.support
-
Uses of KeyPartitioner in org.infinispan.query.impl
Modifier and TypeMethodDescriptionstatic KeyPartitioner
ComponentRegistryUtils.getKeyPartitioner
(Cache<?, ?> cache) -
Uses of KeyPartitioner in org.infinispan.stream.impl
Modifier and TypeFieldDescriptionprotected final KeyPartitioner
AbstractCacheStream.keyPartitioner
-
Uses of KeyPartitioner in org.infinispan.transaction.impl
Modifier and TypeMethodDescriptionWriteSkewHelper.performWriteSkewCheckAndReturnNewVersions
(org.infinispan.commands.tx.VersionedPrepareCommand prepareCommand, EntryLoader<?, ?> entryLoader, VersionGenerator versionGenerator, TxInvocationContext<?> context, WriteSkewHelper.KeySpecificLogic ksl, KeyPartitioner keyPartitioner)