Class BufferedStartMessageEventStateApplier
- java.lang.Object
-
- io.camunda.zeebe.engine.state.appliers.BufferedStartMessageEventStateApplier
-
public final class BufferedStartMessageEventStateApplier extends Object
-
-
Constructor Summary
Constructors Constructor Description BufferedStartMessageEventStateApplier(ProcessState processState, MutableMessageState messageState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
removeMessageLock(ProcessInstanceRecord record)
If a process instance is created by a message then it creates a lock for the instance to avoid that another instance can be created for the same message name and correlation key.
-
-
-
Constructor Detail
-
BufferedStartMessageEventStateApplier
public BufferedStartMessageEventStateApplier(ProcessState processState, MutableMessageState messageState)
-
-
Method Detail
-
removeMessageLock
public void removeMessageLock(ProcessInstanceRecord record)
If a process instance is created by a message then it creates a lock for the instance to avoid that another instance can be created for the same message name and correlation key. This method removes the lock. It should be called when the process instance transitions to completed or terminated.- Parameters:
record
- the record of the process instance that has ended
-
-