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 TypeMethodDescriptionvoidprocessDistributedCommand(TypedRecord<UserRecord> command) Process a command that has been distributed.voidprocessNewCommand(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, waitMethods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.DistributedTypedRecordProcessor
processRecordMethods 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:DistributedTypedRecordProcessorProcess a command that is not distributed yet- Specified by:
processNewCommandin interfaceDistributedTypedRecordProcessor<UserRecord>- Parameters:
command- the not yet distributed command to process
-
processDistributedCommand
Description copied from interface:DistributedTypedRecordProcessorProcess a command that has been distributed. Be aware to not distribute it again!- Specified by:
processDistributedCommandin interfaceDistributedTypedRecordProcessor<UserRecord>- Parameters:
command- the already distributed command to process
-