Uses of Class
io.atomix.primitive.partition.PartitionId
Packages that use PartitionId
Package
Description
Provides classes and interfaces for managing primitive partitions, partition groups, and member
groups.
Provides
PartitionGroup and Partition implementations for the Raft consensus protocol.-
Uses of PartitionId in io.atomix.primitive.partition
Methods in io.atomix.primitive.partition that return PartitionIdModifier and TypeMethodDescriptionstatic PartitionIdCreates a partition identifier from an integer.Partition.id()Returns the partition identifier.PartitionMetadata.id()Returns the partition identifier.Partitioner.partition(K key, List<PartitionId> partitions) Returns the partition ID to which the specified object maps.Methods in io.atomix.primitive.partition that return types with arguments of type PartitionIdModifier and TypeMethodDescriptionPartitionGroup.getPartitionIds()Returns a sorted list of partition IDs.Methods in io.atomix.primitive.partition with parameters of type PartitionIdModifier and TypeMethodDescriptionintPartitionId.compareTo(PartitionId that) PartitionGroup.getPartition(PartitionId partitionId) Returns a partition by ID.Method parameters in io.atomix.primitive.partition with type arguments of type PartitionIdModifier and TypeMethodDescriptionPartitioner.partition(K key, List<PartitionId> partitions) Returns the partition ID to which the specified object maps.Constructors in io.atomix.primitive.partition with parameters of type PartitionIdModifierConstructorDescriptionPartitionMetadata(PartitionId id, Set<MemberId> members, Map<MemberId, Integer> priority, int targetPriority, MemberId primary) -
Uses of PartitionId in io.atomix.raft.partition
Methods in io.atomix.raft.partition that return PartitionIdMethods in io.atomix.raft.partition that return types with arguments of type PartitionIdMethods in io.atomix.raft.partition with parameters of type PartitionIdMethod parameters in io.atomix.raft.partition with type arguments of type PartitionIdModifier and TypeMethodDescriptionPartitionDistributor.distributePartitions(Set<MemberId> clusterMembers, List<PartitionId> sortedPartitionIds, int replicationFactor) Provides the partition distribution based on the given list of partition IDs, cluster members, and the replication factor.RoundRobinPartitionDistributor.distributePartitions(Set<MemberId> clusterMembers, List<PartitionId> sortedPartitionIds, int replicationFactor) Constructors in io.atomix.raft.partition with parameters of type PartitionIdModifierConstructorDescriptionRaftPartition(PartitionId partitionId, RaftPartitionGroupConfig config, File dataDirectory)