Package io.camunda.zeebe.streamprocessor
Class RecordProcessorContextImpl
java.lang.Object
io.camunda.zeebe.streamprocessor.RecordProcessorContextImpl
- All Implemented Interfaces:
RecordProcessorContext
-
Constructor Summary
ConstructorDescriptionRecordProcessorContextImpl
(int partitionId, ProcessingScheduleService scheduleService, ZeebeDb zeebeDb, TransactionContext transactionContext, Function<MutableProcessingState, EventApplier> eventApplierFactory, InterPartitionCommandSender partitionCommandSender, KeyGeneratorControls keyGeneratorControls) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLifecycleListeners
(List<StreamProcessorLifecycleAware> lifecycleListeners) int
-
Constructor Details
-
RecordProcessorContextImpl
public RecordProcessorContextImpl(int partitionId, ProcessingScheduleService scheduleService, ZeebeDb zeebeDb, TransactionContext transactionContext, Function<MutableProcessingState, EventApplier> eventApplierFactory, InterPartitionCommandSender partitionCommandSender, KeyGeneratorControls keyGeneratorControls)
-
-
Method Details
-
getPartitionId
public int getPartitionId()- Specified by:
getPartitionId
in interfaceRecordProcessorContext
-
getScheduleService
- Specified by:
getScheduleService
in interfaceRecordProcessorContext
-
getZeebeDb
- Specified by:
getZeebeDb
in interfaceRecordProcessorContext
-
getTransactionContext
- Specified by:
getTransactionContext
in interfaceRecordProcessorContext
-
getEventApplierFactory
- Specified by:
getEventApplierFactory
in interfaceRecordProcessorContext
-
getLifecycleListeners
- Specified by:
getLifecycleListeners
in interfaceRecordProcessorContext
-
addLifecycleListeners
- Specified by:
addLifecycleListeners
in interfaceRecordProcessorContext
-
getPartitionCommandSender
- Specified by:
getPartitionCommandSender
in interfaceRecordProcessorContext
-
getKeyGenerator
- Specified by:
getKeyGenerator
in interfaceRecordProcessorContext
-