Class PartitionManagerImpl
java.lang.Object
io.camunda.zeebe.broker.partitioning.PartitionManagerImpl
- All Implemented Interfaces:
PartitionManager,TopologyManager
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPartitionManagerImpl(ActorSchedulingService actorSchedulingService, BrokerCfg brokerCfg, BrokerInfo localBroker, ClusterServices clusterServices, BrokerHealthCheckService healthCheckService, DiskSpaceUsageMonitor diskSpaceUsageMonitor, List<PartitionListener> partitionListeners, CommandApiService commandApiService, ExporterRepository exporterRepository, AtomixServerTransport gatewayBrokerTransport, JobStreamer jobStreamer, PartitionDistribution partitionDistribution) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateAdminAccess(ConcurrencyControl concurrencyControl) getRaftPartition(int partitionId) voidonHealthChanged(int i, HealthStatus healthStatus) voidstart()stop()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.camunda.zeebe.broker.partitioning.PartitionManager
getRaftPartition, getRaftPartitionsWithMember
-
Field Details
-
GROUP_NAME
- See Also:
-
-
Constructor Details
-
PartitionManagerImpl
public PartitionManagerImpl(ActorSchedulingService actorSchedulingService, BrokerCfg brokerCfg, BrokerInfo localBroker, ClusterServices clusterServices, BrokerHealthCheckService healthCheckService, DiskSpaceUsageMonitor diskSpaceUsageMonitor, List<PartitionListener> partitionListeners, CommandApiService commandApiService, ExporterRepository exporterRepository, AtomixServerTransport gatewayBrokerTransport, JobStreamer jobStreamer, PartitionDistribution partitionDistribution)
-
-
Method Details
-
createAdminAccess
-
start
-
stop
-
toString
-
onHealthChanged
-
removeTopologyPartitionListener
- Specified by:
removeTopologyPartitionListenerin interfaceTopologyManager
-
addTopologyPartitionListener
- Specified by:
addTopologyPartitionListenerin interfaceTopologyManager
-
getRaftPartition
- Specified by:
getRaftPartitionin interfacePartitionManager- Returns:
- the partition with the given id or null if partition does not exist
-
getRaftPartitions
- Specified by:
getRaftPartitionsin interfacePartitionManager- Returns:
- all known partitions
-
getZeebePartitions
- Specified by:
getZeebePartitionsin interfacePartitionManager- Returns:
- all Zeebe partitions that are managed by this broker.
-