Class UserUpdateProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.user.UserUpdateProcessor
- All Implemented Interfaces:
DistributedTypedRecordProcessor<UserRecord>
,TypedRecordProcessor<UserRecord>
public class UserUpdateProcessor
extends Object
implements DistributedTypedRecordProcessor<UserRecord>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
TypedRecordProcessor.ProcessingError
-
Constructor Summary
ConstructorsConstructorDescriptionUserUpdateProcessor
(KeyGenerator keyGenerator, ProcessingState state, Writers writers, CommandDistributionBehavior distributionBehavior) -
Method Summary
Modifier and TypeMethodDescriptionvoid
processDistributedCommand
(TypedRecord<UserRecord> command) Process a command that has been distributed.void
processNewCommand
(TypedRecord<UserRecord> command) Process a command that is not distributed yetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.DistributedTypedRecordProcessor
processRecord
Methods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
tryHandleError
-
Constructor Details
-
UserUpdateProcessor
public UserUpdateProcessor(KeyGenerator keyGenerator, ProcessingState state, Writers writers, CommandDistributionBehavior distributionBehavior)
-
-
Method Details
-
processNewCommand
Description copied from interface:DistributedTypedRecordProcessor
Process a command that is not distributed yet- Specified by:
processNewCommand
in interfaceDistributedTypedRecordProcessor<UserRecord>
- Parameters:
command
- the not yet distributed command to process
-
processDistributedCommand
Description copied from interface:DistributedTypedRecordProcessor
Process a command that has been distributed. Be aware to not distribute it again!- Specified by:
processDistributedCommand
in interfaceDistributedTypedRecordProcessor<UserRecord>
- Parameters:
command
- the already distributed command to process
-