Interface MutableProcessState
- All Superinterfaces:
ProcessState
- All Known Implementing Classes:
DbProcessState
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteProcess
(ProcessRecord processRecord) Deletes a process fromm the state and cachevoid
putDeployment
(DeploymentRecord deploymentRecord) void
putLatestVersionDigest
(ProcessRecord processRecord) void
putProcess
(long key, ProcessRecord value) void
updateProcessState
(ProcessRecord processRecord, PersistedProcess.PersistedProcessState state) Updates the state of a process.Methods inherited from interface io.camunda.zeebe.engine.state.immutable.ProcessState
clearCache, findProcessVersionBefore, getFlowElement, getLatestProcessVersion, getLatestProcessVersionByProcessId, getLatestVersionDigest, getNextProcessVersion, getProcessByKeyAndTenant, getProcessByProcessIdAndVersion
-
Method Details
-
putDeployment
-
putLatestVersionDigest
-
putProcess
-
updateProcessState
Updates the state of a process. This method updates both the ColumnFamily and the in memory cache.- Parameters:
processRecord
- the record of the process that is updatedstate
- the new state
-
deleteProcess
Deletes a process fromm the state and cache- Parameters:
processRecord
- the record of the process that is deleted
-