Uses of Class
io.atomix.primitive.partition.PartitionId
| Package | Description |
|---|---|
| io.atomix.primitive.log | |
| io.atomix.primitive.partition |
Provides classes and interfaces for managing primitive partitions, partition groups, and member groups.
|
| io.atomix.primitive.proxy |
Provides interfaces for operating on primitive services via Java proxies.
|
| io.atomix.primitive.session |
Provides classes and interfaces for managing primitive sessions.
|
-
Uses of PartitionId in io.atomix.primitive.log
Methods in io.atomix.primitive.log that return PartitionId Modifier and Type Method Description PartitionIdLogClient. getPartitionId(String key)Returns the partition ID for the given key.PartitionIdLogSession. partitionId()Returns the session partition ID.Methods in io.atomix.primitive.log that return types with arguments of type PartitionId Modifier and Type Method Description Collection<PartitionId>LogClient. getPartitionIds()Returns the collection of all partition IDs.Methods in io.atomix.primitive.log with parameters of type PartitionId Modifier and Type Method Description LogSessionLogClient. getPartition(PartitionId partitionId)Returns the partition with the given identifier. -
Uses of PartitionId in io.atomix.primitive.partition
Methods in io.atomix.primitive.partition that return PartitionId Modifier and Type Method Description static PartitionIdPartitionId. from(String group, int id)Creates a partition identifier from an integer.PartitionIdPartition. id()Returns the partition identifier.PartitionIdPartitionMetadata. id()Returns the partition identifier.PartitionIdMurmur3Partitioner. partition(String key, List<PartitionId> partitions)PartitionIdPartitioner. partition(K key, List<PartitionId> partitions)Returns the partition ID to which the specified object maps.PartitionIdPrimaryElectionEvent. partitionId()Returns the partition ID.Methods in io.atomix.primitive.partition that return types with arguments of type PartitionId Modifier and Type Method Description List<PartitionId>PartitionGroup. getPartitionIds()Returns a sorted list of partition IDs.Methods in io.atomix.primitive.partition with parameters of type PartitionId Modifier and Type Method Description intPartitionId. compareTo(PartitionId that)PrimaryElectionPrimaryElectionService. getElectionFor(PartitionId partitionId)Returns the primary election for the given partition identifier.PartitionPartitionGroup. getPartition(PartitionId partitionId)Returns a partition by ID.default CompletableFuture<Void>PartitionGroup. snapshot(PartitionId partitionId)Takes a snapshot of the partition.Method parameters in io.atomix.primitive.partition with type arguments of type PartitionId Modifier and Type Method Description PartitionIdMurmur3Partitioner. partition(String key, List<PartitionId> partitions)PartitionIdPartitioner. 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 PartitionId Constructor Description PartitionMetadata(PartitionId id, Collection<io.atomix.cluster.MemberId> members)PrimaryElectionEvent(PrimaryElectionEvent.Type type, PartitionId partitionId, PrimaryTerm subject) -
Uses of PartitionId in io.atomix.primitive.proxy
Methods in io.atomix.primitive.proxy that return PartitionId Modifier and Type Method Description PartitionIdProxyClient. getPartitionId(Object key)Returns the partition ID for the given key.PartitionIdProxyClient. getPartitionId(String key)Returns the partition ID for the given key.PartitionIdProxySession. partitionId()Returns the proxy partition ID.Methods in io.atomix.primitive.proxy that return types with arguments of type PartitionId Modifier and Type Method Description Collection<PartitionId>ProxyClient. getPartitionIds()Returns the collection of all partition IDs.Methods in io.atomix.primitive.proxy with parameters of type PartitionId Modifier and Type Method Description default CompletableFuture<Void>ProxyClient. acceptOn(PartitionId partitionId, java.util.function.Consumer<S> operation)Submits an empty operation to the given partition.default <R> CompletableFuture<R>ProxyClient. applyOn(PartitionId partitionId, java.util.function.Function<S,R> operation)Submits an empty operation to the given partition.ProxySession<S>ProxyClient. getPartition(PartitionId partitionId)Returns the proxy with the given identifier. -
Uses of PartitionId in io.atomix.primitive.session
Methods in io.atomix.primitive.session that return PartitionId Modifier and Type Method Description PartitionIdSessionClient. partitionId()Returns the partition identifier.