Interface PartitionTransitionContext
- All Superinterfaces:
PartitionContext
- All Known Implementing Classes:
PartitionStartupAndTransitionContextImpl
-
Method Summary
Modifier and TypeMethodDescriptionintintConsumer<TypedRecord<?>>voidsetConcurrencyControl(ConcurrencyControl concurrencyControl) voidvoidsetCurrentTerm(long term) voidsetExporterDirector(ExporterDirector exporterDirector) voidsetLogStorage(AtomixLogStorage logStorage) voidsetLogStream(LogStream logStream) voidsetQueryService(QueryService queryService) voidsetSnapshotDirector(AsyncSnapshotDirector snapshotDirector) voidsetStreamProcessor(StreamProcessor streamProcessor) voidsetZeebeDb(ZeebeDb zeebeDb) booleanMethods inherited from interface io.camunda.zeebe.broker.system.partitions.PartitionContext
getComponentHealthMonitor, getCurrentRole, getCurrentTerm, getExporterDirector, getPartitionId, getRaftPartition, getStreamProcessor, notifyListenersOfBecomingFollower, notifyListenersOfBecomingInactive, notifyListenersOfBecomingLeader, setDiskSpaceAvailable, shouldProcess
-
Method Details
-
getNodeId
int getNodeId() -
getLogStream
LogStream getLogStream() -
setLogStream
-
getSnapshotDirector
AsyncSnapshotDirector getSnapshotDirector() -
setSnapshotDirector
-
getStateController
StateController getStateController() -
getPartitionListeners
List<PartitionListener> getPartitionListeners() -
getPartitionContext
PartitionContext getPartitionContext() -
setStreamProcessor
-
setCurrentTerm
void setCurrentTerm(long term) -
setCurrentRole
-
getActorSchedulingService
ActorSchedulingService getActorSchedulingService() -
getZeebeDb
ZeebeDb getZeebeDb() -
setZeebeDb
-
getCommandResponseWriter
CommandResponseWriter getCommandResponseWriter() -
getOnProcessedListener
Consumer<TypedRecord<?>> getOnProcessedListener() -
getStreamProcessorFactory
TypedRecordProcessorFactory getStreamProcessorFactory() -
getConcurrencyControl
ConcurrencyControl getConcurrencyControl() -
setConcurrencyControl
-
setExporterDirector
-
getMessagingService
PartitionMessagingService getMessagingService() -
shouldExport
boolean shouldExport() -
getExportedDescriptors
Collection<ExporterDescriptor> getExportedDescriptors() -
getLogStorage
AtomixLogStorage getLogStorage() -
setLogStorage
-
getMaxFragmentSize
int getMaxFragmentSize() -
getBrokerCfg
BrokerCfg getBrokerCfg() -
getQueryService
QueryService getQueryService() -
setQueryService
-