Package com.loomcache.server.sharding
@NullMarked
package com.loomcache.server.sharding
Multi-Raft sharding infrastructure for LoomCache.
This package provides partition-based routing and per-Raft-group state isolation, enabling horizontal scalability beyond a single Raft group.
- Since:
- 2.0
-
ClassDescriptionHandles queries that span multiple Raft groups using scatter-gather.Partitions a transaction's conditions and operations by their target Raft group.Executes transactions atomically via Raft command serialization.Submits a transaction through Raft consensus for linearizable execution.Manages cross-group lock acquisition with deadlock prevention.Tracks the progress of an ongoing partition rebalance migration.The lifecycle states of a partition migration.Immutable snapshot of the current partition-to-group mapping.Describes a single partition migration from one Raft group to another.Handles partition migration between Raft groups when groups are added or removed.Routes keys to the correct Raft group based on partition assignment.An immutable plan describing partition moves needed to rebalance across Raft groups.Wraps
DataStructureRegistrywith per-Raft-group state isolation.