Class DbDeploymentState
java.lang.Object
io.camunda.zeebe.engine.state.deployment.DbDeploymentState
- All Implemented Interfaces:
DeploymentState
,MutableDeploymentState
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.state.immutable.DeploymentState
DeploymentState.PendingDeploymentVisitor
-
Constructor Summary
ConstructorsConstructorDescriptionDbDeploymentState
(ZeebeDb<ZbColumnFamilies> zeebeDb, TransactionContext transactionContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPendingDeploymentDistribution
(long deploymentKey, int partition) void
foreachPendingDeploymentDistribution
(DeploymentState.PendingDeploymentVisitor pendingDeploymentVisitor) getStoredDeploymentRecord
(long key) boolean
hasPendingDeploymentDistribution
(long deploymentKey) void
removeDeploymentRecord
(long key) void
removePendingDeploymentDistribution
(long deploymentKey, int partition) void
storeDeploymentRecord
(long key, DeploymentRecord value)
-
Constructor Details
-
DbDeploymentState
-
-
Method Details
-
addPendingDeploymentDistribution
public void addPendingDeploymentDistribution(long deploymentKey, int partition) - Specified by:
addPendingDeploymentDistribution
in interfaceMutableDeploymentState
-
removePendingDeploymentDistribution
public void removePendingDeploymentDistribution(long deploymentKey, int partition) - Specified by:
removePendingDeploymentDistribution
in interfaceMutableDeploymentState
-
hasPendingDeploymentDistribution
public boolean hasPendingDeploymentDistribution(long deploymentKey) - Specified by:
hasPendingDeploymentDistribution
in interfaceDeploymentState
-
storeDeploymentRecord
- Specified by:
storeDeploymentRecord
in interfaceMutableDeploymentState
-
foreachPendingDeploymentDistribution
public void foreachPendingDeploymentDistribution(DeploymentState.PendingDeploymentVisitor pendingDeploymentVisitor) - Specified by:
foreachPendingDeploymentDistribution
in interfaceDeploymentState
-
removeDeploymentRecord
public void removeDeploymentRecord(long key) - Specified by:
removeDeploymentRecord
in interfaceMutableDeploymentState
-
getStoredDeploymentRecord
- Specified by:
getStoredDeploymentRecord
in interfaceDeploymentState
-