Package io.camunda.zeebe.streamprocessor
Class RecordProcessorContextImpl
java.lang.Object
io.camunda.zeebe.streamprocessor.RecordProcessorContextImpl
- All Implemented Interfaces:
RecordProcessorContext
-
Constructor Summary
ConstructorsConstructorDescriptionRecordProcessorContextImpl(int partitionId, ProcessingScheduleService scheduleService, ZeebeDb zeebeDb, TransactionContext transactionContext, Function<MutableProcessingState, EventApplier> eventApplierFactory, InterPartitionCommandSender partitionCommandSender, KeyGeneratorControls keyGeneratorControls) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLifecycleListeners(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:
getPartitionIdin interfaceRecordProcessorContext
-
getScheduleService
- Specified by:
getScheduleServicein interfaceRecordProcessorContext
-
getZeebeDb
- Specified by:
getZeebeDbin interfaceRecordProcessorContext
-
getTransactionContext
- Specified by:
getTransactionContextin interfaceRecordProcessorContext
-
getEventApplierFactory
- Specified by:
getEventApplierFactoryin interfaceRecordProcessorContext
-
getLifecycleListeners
- Specified by:
getLifecycleListenersin interfaceRecordProcessorContext
-
addLifecycleListeners
- Specified by:
addLifecycleListenersin interfaceRecordProcessorContext
-
getPartitionCommandSender
- Specified by:
getPartitionCommandSenderin interfaceRecordProcessorContext
-
getKeyGenerator
- Specified by:
getKeyGeneratorin interfaceRecordProcessorContext
-