Interface PartitionManager

All Known Implementing Classes:
PartitionManagerImpl

public interface PartitionManager
  • Method Details

    • getRaftPartition

      RaftPartition getRaftPartition(int partitionId)
      Returns:
      the partition with the given id or null if partition does not exist
    • getRaftPartition

      default RaftPartition getRaftPartition(PartitionId partitionId)
      Returns:
      the partition with the given id or null if partition does not exist
    • getRaftPartitions

      Collection<RaftPartition> getRaftPartitions()
      Returns:
      all known partitions
    • getRaftPartitionsWithMember

      default Collection<RaftPartition> getRaftPartitionsWithMember(MemberId memberId)
      Returns:
      all partitions with the given member
    • getZeebePartitions

      Collection<ZeebePartition> getZeebePartitions()
      Returns:
      all Zeebe partitions that are managed by this broker.