Class PartitionAdminControlImpl
java.lang.Object
io.camunda.zeebe.broker.system.partitions.PartitionAdminControlImpl
- All Implemented Interfaces:
PartitionAdminControl
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionAdminControlImpl(Supplier<StreamProcessor> streamProcessorSupplier, Supplier<ExporterDirector> exporterDirectorSupplier, Supplier<AsyncSnapshotDirector> snapshotDirectorSupplier, Supplier<PartitionProcessingState> partitionProcessingStateSupplier, Supplier<ZeebeDb> zeebeDbSupplier, Supplier<LogStream> logStreamSupplier) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidbooleanvoidbooleanbooleanvoid
-
Constructor Details
-
PartitionAdminControlImpl
public PartitionAdminControlImpl(Supplier<StreamProcessor> streamProcessorSupplier, Supplier<ExporterDirector> exporterDirectorSupplier, Supplier<AsyncSnapshotDirector> snapshotDirectorSupplier, Supplier<PartitionProcessingState> partitionProcessingStateSupplier, Supplier<ZeebeDb> zeebeDbSupplier, Supplier<LogStream> logStreamSupplier)
-
-
Method Details
-
getStreamProcessor
- Specified by:
getStreamProcessorin interfacePartitionAdminControl
-
getZeebeDb
- Specified by:
getZeebeDbin interfacePartitionAdminControl
-
getLogStream
- Specified by:
getLogStreamin interfacePartitionAdminControl
-
getExporterDirector
- Specified by:
getExporterDirectorin interfacePartitionAdminControl
-
triggerSnapshot
public void triggerSnapshot()- Specified by:
triggerSnapshotin interfacePartitionAdminControl
-
shouldProcess
public boolean shouldProcess()- Specified by:
shouldProcessin interfacePartitionAdminControl
-
shouldExport
public boolean shouldExport()- Specified by:
shouldExportin interfacePartitionAdminControl
-
pauseProcessing
- Specified by:
pauseProcessingin interfacePartitionAdminControl- Throws:
IOException
-
resumeProcessing
- Specified by:
resumeProcessingin interfacePartitionAdminControl- Throws:
IOException
-
pauseExporting
- Specified by:
pauseExportingin interfacePartitionAdminControl- Throws:
IOException
-
resumeExporting
- Specified by:
resumeExportingin interfacePartitionAdminControl- Throws:
IOException
-