Package org.infinispan.query.affinity
This package contains the implementation of the AffinityIndexManager, that maintains an index divided into shards
with storage using the Infinispan Lucene directory. Each index shard is associated with one or more Infinispan
segments.
-
Interface Summary Interface Description ShardAllocatorManager ShardAllocatorManager is responsible for the mapping between index shards and Infinispan segments for all indexes in a cache. -
Class Summary Class Description AffinityErrorHandler Handles errors occurred in theAffinityIndexManager
.AffinityIndexManager IndexManager
that splits the index into shards.AffinityShardIdentifierProvider Dynamic sharding based on the segment associated with the keyAffinityUpdateCommand Handle index updates forwarded by theAffinityIndexManager
, in exceptional cases where an index work ceases to be local to a node due to transient ownership changes.QueryPackageImpl ShardAllocationManagerImpl