Package io.atomix.primitive.partition
Interface Partition
- All Known Implementing Classes:
RaftPartition
public interface Partition
Atomix partition.
-
Method Details
-
id
PartitionId id()Returns the partition identifier.- Returns:
- the partition identifier
-
term
long term()Returns the partition term.- Returns:
- the partition term
-
members
Collection<MemberId> members()Returns the collection of all members in the partition.- Returns:
- the collection of all members in the partition
-