Package-level declarations

Types

Link copied to clipboard
interface AggregateIdSharding : PreciseSharding<AggregateId>

Interface for sharding aggregate IDs across multiple nodes or partitions.

Link copied to clipboard

Composite sharding implementation that routes aggregates based on their type.

Link copied to clipboard
class CosIdShardingDecorator(sharding: PreciseSharding<Long>, hashFunction: (String) -> Long = DEFAULT_HASH_FUNCTION) : AggregateIdSharding

Decorator that adapts a numeric sharding strategy for aggregate IDs using a hash function.

Link copied to clipboard

Named sharding implementation for aggregate IDs.

Link copied to clipboard

Registry for managing aggregate ID sharding strategies by name.

Link copied to clipboard

Simple thread-safe implementation of ShardingRegistrar using ConcurrentHashMap.

Link copied to clipboard

Simple sharding implementation that always routes to a single node.