Interface PartitionManager
- All Known Implementing Classes:
PartitionManagerImpl
public interface PartitionManager
-
Method Summary
Modifier and TypeMethodDescriptiongetRaftPartition(int partitionId) default RaftPartitiongetRaftPartition(PartitionId partitionId) default Collection<RaftPartition>getRaftPartitionsWithMember(MemberId memberId)
-
Method Details
-
getRaftPartition
- Returns:
- the partition with the given id or null if partition does not exist
-
getRaftPartition
- Returns:
- the partition with the given id or null if partition does not exist
-
getRaftPartitions
Collection<RaftPartition> getRaftPartitions()- Returns:
- all known partitions
-
getRaftPartitionsWithMember
- Returns:
- all partitions with the given member
-
getZeebePartitions
Collection<ZeebePartition> getZeebePartitions()- Returns:
- all Zeebe partitions that are managed by this broker.
-