Class PartitionStartupAndTransitionContextImpl
java.lang.Object
io.camunda.zeebe.broker.system.partitions.PartitionStartupAndTransitionContextImpl
- All Implemented Interfaces:
PartitionContext,PartitionStartupContext,PartitionTransitionContext
@Deprecated
public class PartitionStartupAndTransitionContextImpl
extends Object
implements PartitionContext, PartitionStartupContext, PartitionTransitionContext
Deprecated.
Class encapsulating all the information about a partition that are needed during bootstrap and
transition to the role of the partition
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionStartupAndTransitionContextImpl(int nodeId, ClusterCommunicationService clusterCommunicationService, RaftPartition raftPartition, List<PartitionListener> partitionListeners, PartitionMessagingService partitionCommunicationService, ActorSchedulingService actorSchedulingService, BrokerCfg brokerCfg, Supplier<CommandResponseWriter> commandResponseWriterSupplier, Supplier<Consumer<TypedRecord<?>>> onProcessedListenerSupplier, PersistedSnapshotStore persistedSnapshotStore, StateController stateController, TypedRecordProcessorsFactory typedRecordProcessorsFactory, ExporterRepository exporterRepository, PartitionProcessingState partitionProcessingState, DiskSpaceUsageMonitor diskSpaceUsageMonitor, AtomixServerTransport gatewayBrokerTransport, TopologyManager topologyManager) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Returns theActorControlofZeebePartitionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.longDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.intDeprecated.Deprecated.Deprecated.intDeprecated.Consumer<TypedRecord<?>>Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.intDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.notifyListenersOfBecomingFollower(long newTerm) Deprecated.voidDeprecated.notifyListenersOfBecomingLeader(long newTerm) Deprecated.voidsetActorControl(ActorControl actorControl) Deprecated.voidsetBackupApiRequestHandler(BackupApiRequestHandler backupApiRequestHandler) Deprecated.voidsetBackupManager(BackupManager backupManager) Deprecated.voidsetBackupStore(BackupStore backupStore) Deprecated.voidsetCheckpointProcessor(CheckpointRecordsProcessor checkpointRecordsProcessor) Deprecated.voidsetComponentHealthMonitor(HealthMonitor criticalComponentsHealthMonitor) Deprecated.voidsetConcurrencyControl(ConcurrencyControl concurrencyControl) Deprecated.voidsetCurrentRole(RaftServer.Role currentRole) Deprecated.voidsetCurrentTerm(long currentTerm) Deprecated.voidsetDiskSpaceAvailable(boolean diskSpaceAvailable) Deprecated.voidsetExporterDirector(ExporterDirector exporterDirector) Deprecated.voidsetLogStorage(AtomixLogStorage logStorage) Deprecated.voidsetLogStream(LogStream logStream) Deprecated.voidsetMetricsTimer(ScheduledTimer metricsTimer) Deprecated.voidDeprecated.voidDeprecated.voidsetQueryService(QueryService queryService) Deprecated.voidsetSnapshotDirector(AsyncSnapshotDirector snapshotDirector) Deprecated.voidsetStreamProcessor(StreamProcessor streamProcessor) Deprecated.voidsetZeebeDb(ZeebeDb zeebeDb) Deprecated.booleanDeprecated.booleanDeprecated.
-
Constructor Details
-
PartitionStartupAndTransitionContextImpl
public PartitionStartupAndTransitionContextImpl(int nodeId, ClusterCommunicationService clusterCommunicationService, RaftPartition raftPartition, List<PartitionListener> partitionListeners, PartitionMessagingService partitionCommunicationService, ActorSchedulingService actorSchedulingService, BrokerCfg brokerCfg, Supplier<CommandResponseWriter> commandResponseWriterSupplier, Supplier<Consumer<TypedRecord<?>>> onProcessedListenerSupplier, PersistedSnapshotStore persistedSnapshotStore, StateController stateController, TypedRecordProcessorsFactory typedRecordProcessorsFactory, ExporterRepository exporterRepository, PartitionProcessingState partitionProcessingState, DiskSpaceUsageMonitor diskSpaceUsageMonitor, AtomixServerTransport gatewayBrokerTransport, TopologyManager topologyManager) Deprecated.
-
-
Method Details
-
getPartitionAdminControl
Deprecated. -
getPartitionId
public int getPartitionId()Deprecated.- Specified by:
getPartitionIdin interfacePartitionContext- Specified by:
getPartitionIdin interfacePartitionStartupContext
-
getRaftPartition
Deprecated.- Specified by:
getRaftPartitionin interfacePartitionContext- Specified by:
getRaftPartitionin interfacePartitionStartupContext
-
notifyListenersOfBecomingLeader
Deprecated.- Specified by:
notifyListenersOfBecomingLeaderin interfacePartitionContext
-
notifyListenersOfBecomingFollower
Deprecated.- Specified by:
notifyListenersOfBecomingFollowerin interfacePartitionContext
-
notifyListenersOfBecomingInactive
public void notifyListenersOfBecomingInactive()Deprecated.- Specified by:
notifyListenersOfBecomingInactivein interfacePartitionContext
-
getCurrentRole
Deprecated.- Specified by:
getCurrentRolein interfacePartitionContext
-
getCurrentTerm
public long getCurrentTerm()Deprecated.- Specified by:
getCurrentTermin interfacePartitionContext
-
getComponentHealthMonitor
Deprecated.- Specified by:
getComponentHealthMonitorin interfacePartitionContext
-
setComponentHealthMonitor
Deprecated. -
getStreamProcessor
Deprecated.- Specified by:
getStreamProcessorin interfacePartitionContext
-
setStreamProcessor
Deprecated.- Specified by:
setStreamProcessorin interfacePartitionTransitionContext
-
getExporterDirector
Deprecated.- Specified by:
getExporterDirectorin interfacePartitionContext
-
setExporterDirector
Deprecated.- Specified by:
setExporterDirectorin interfacePartitionTransitionContext
-
getMessagingService
Deprecated.- Specified by:
getMessagingServicein interfacePartitionTransitionContext
-
getClusterCommunicationService
Deprecated.- Specified by:
getClusterCommunicationServicein interfacePartitionTransitionContext
-
getPartitionCommandReceiver
Deprecated.- Specified by:
getPartitionCommandReceiverin interfacePartitionTransitionContext
-
setPartitionCommandReceiver
Deprecated.- Specified by:
setPartitionCommandReceiverin interfacePartitionTransitionContext
-
getPartitionCommandSender
Deprecated.- Specified by:
getPartitionCommandSenderin interfacePartitionTransitionContext
-
setPartitionCommandSender
Deprecated.- Specified by:
setPartitionCommandSenderin interfacePartitionTransitionContext
-
shouldExport
public boolean shouldExport()Deprecated.- Specified by:
shouldExportin interfacePartitionTransitionContext
-
getExportedDescriptors
Deprecated.- Specified by:
getExportedDescriptorsin interfacePartitionTransitionContext
-
getLogStorage
Deprecated.- Specified by:
getLogStoragein interfacePartitionTransitionContext
-
setLogStorage
Deprecated.- Specified by:
setLogStoragein interfacePartitionTransitionContext
-
getMaxFragmentSize
public int getMaxFragmentSize()Deprecated.- Specified by:
getMaxFragmentSizein interfacePartitionTransitionContext
-
getBrokerCfg
Deprecated.- Specified by:
getBrokerCfgin interfacePartitionTransitionContext
-
getQueryService
Deprecated.- Specified by:
getQueryServicein interfacePartitionTransitionContext
-
setQueryService
Deprecated.- Specified by:
setQueryServicein interfacePartitionTransitionContext
-
getDiskSpaceUsageMonitor
Deprecated.- Specified by:
getDiskSpaceUsageMonitorin interfacePartitionTransitionContext
-
getGatewayBrokerTransport
Deprecated.- Specified by:
getGatewayBrokerTransportin interfacePartitionTransitionContext
-
getBackupApiRequestHandler
Deprecated.- Specified by:
getBackupApiRequestHandlerin interfacePartitionTransitionContext
-
setBackupApiRequestHandler
Deprecated.- Specified by:
setBackupApiRequestHandlerin interfacePartitionTransitionContext
-
getBackupManager
Deprecated.- Specified by:
getBackupManagerin interfacePartitionTransitionContext
-
setBackupManager
Deprecated.- Specified by:
setBackupManagerin interfacePartitionTransitionContext
-
getCheckpointProcessor
Deprecated.- Specified by:
getCheckpointProcessorin interfacePartitionTransitionContext
-
setCheckpointProcessor
Deprecated.- Specified by:
setCheckpointProcessorin interfacePartitionTransitionContext
-
getBackupStore
Deprecated.- Specified by:
getBackupStorein interfacePartitionTransitionContext
-
setBackupStore
Deprecated.- Specified by:
setBackupStorein interfacePartitionTransitionContext
-
shouldProcess
public boolean shouldProcess()Deprecated.- Specified by:
shouldProcessin interfacePartitionContext
-
setDiskSpaceAvailable
public void setDiskSpaceAvailable(boolean diskSpaceAvailable) Deprecated.- Specified by:
setDiskSpaceAvailablein interfacePartitionContext
-
getTopologyManager
Deprecated.- Specified by:
getTopologyManagerin interfacePartitionContext
-
setCurrentTerm
public void setCurrentTerm(long currentTerm) Deprecated.- Specified by:
setCurrentTermin interfacePartitionTransitionContext
-
setCurrentRole
Deprecated.- Specified by:
setCurrentRolein interfacePartitionTransitionContext
-
getLogStream
Deprecated.- Specified by:
getLogStreamin interfacePartitionTransitionContext
-
setLogStream
Deprecated.- Specified by:
setLogStreamin interfacePartitionTransitionContext
-
getSnapshotDirector
Deprecated.- Specified by:
getSnapshotDirectorin interfacePartitionTransitionContext
-
setSnapshotDirector
Deprecated.- Specified by:
setSnapshotDirectorin interfacePartitionTransitionContext
-
getStateController
Deprecated.- Specified by:
getStateControllerin interfacePartitionTransitionContext
-
getPartitionListeners
Deprecated.- Specified by:
getPartitionListenersin interfacePartitionTransitionContext
-
getPartitionContext
Deprecated.- Specified by:
getPartitionContextin interfacePartitionTransitionContext
-
getNodeId
public int getNodeId()Deprecated.- Specified by:
getNodeIdin interfacePartitionStartupContext- Specified by:
getNodeIdin interfacePartitionTransitionContext
-
getActorSchedulingService
Deprecated.- Specified by:
getActorSchedulingServicein interfacePartitionStartupContext- Specified by:
getActorSchedulingServicein interfacePartitionTransitionContext
-
getPersistedSnapshotStore
Deprecated.- Specified by:
getPersistedSnapshotStorein interfacePartitionStartupContext- Specified by:
getPersistedSnapshotStorein interfacePartitionTransitionContext
-
getActorControl
Deprecated.Description copied from interface:PartitionStartupContextReturns theActorControlofZeebePartition- Specified by:
getActorControlin interfacePartitionStartupContext- Returns:
ActorControlofZeebePartition
-
setActorControl
Deprecated.- Specified by:
setActorControlin interfacePartitionStartupContext
-
getMetricsTimer
Deprecated.- Specified by:
getMetricsTimerin interfacePartitionStartupContext
-
setMetricsTimer
Deprecated.- Specified by:
setMetricsTimerin interfacePartitionStartupContext
-
getZeebeDb
Deprecated.- Specified by:
getZeebeDbin interfacePartitionStartupContext- Specified by:
getZeebeDbin interfacePartitionTransitionContext
-
createTransitionContext
Deprecated.- Specified by:
createTransitionContextin interfacePartitionStartupContext
-
setZeebeDb
Deprecated.- Specified by:
setZeebeDbin interfacePartitionTransitionContext
-
getCommandResponseWriter
Deprecated.- Specified by:
getCommandResponseWriterin interfacePartitionTransitionContext
-
getOnProcessedListener
Deprecated.- Specified by:
getOnProcessedListenerin interfacePartitionTransitionContext
-
getTypedRecordProcessorFactory
Deprecated.- Specified by:
getTypedRecordProcessorFactoryin interfacePartitionTransitionContext
-
getConcurrencyControl
Deprecated.- Specified by:
getConcurrencyControlin interfacePartitionTransitionContext
-
setConcurrencyControl
Deprecated.- Specified by:
setConcurrencyControlin interfacePartitionTransitionContext
-
getExporterRepository
Deprecated.
-