Class DbIncidentState
java.lang.Object
io.camunda.zeebe.engine.state.instance.DbIncidentState
- All Implemented Interfaces:
IncidentState
,MutableIncidentState
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDbIncidentState
(ZeebeDb<ZbColumnFamilies> zeebeDb, TransactionContext transactionContext, int partitionId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createIncident
(long incidentKey, IncidentRecord incident) void
deleteIncident
(long key) void
forExistingProcessIncident
(long elementInstanceKey, ObjLongConsumer<IncidentRecord> resolver) getIncidentRecord
(long incidentKey) getIncidentRecord
(long incidentKey, Map<String, Object> authorizations) long
getJobIncidentKey
(long jobKey) long
getProcessInstanceIncidentKey
(long processInstanceKey) boolean
isJobIncident
(IncidentRecord record)
-
Field Details
-
MISSING_INCIDENT
public static final int MISSING_INCIDENT- See Also:
-
-
Constructor Details
-
DbIncidentState
public DbIncidentState(ZeebeDb<ZbColumnFamilies> zeebeDb, TransactionContext transactionContext, int partitionId)
-
-
Method Details
-
createIncident
- Specified by:
createIncident
in interfaceMutableIncidentState
-
deleteIncident
public void deleteIncident(long key) - Specified by:
deleteIncident
in interfaceMutableIncidentState
-
getIncidentRecord
- Specified by:
getIncidentRecord
in interfaceIncidentState
-
getIncidentRecord
- Specified by:
getIncidentRecord
in interfaceIncidentState
-
getProcessInstanceIncidentKey
public long getProcessInstanceIncidentKey(long processInstanceKey) - Specified by:
getProcessInstanceIncidentKey
in interfaceIncidentState
-
getJobIncidentKey
public long getJobIncidentKey(long jobKey) - Specified by:
getJobIncidentKey
in interfaceIncidentState
-
isJobIncident
- Specified by:
isJobIncident
in interfaceIncidentState
-
forExistingProcessIncident
public void forExistingProcessIncident(long elementInstanceKey, ObjLongConsumer<IncidentRecord> resolver) - Specified by:
forExistingProcessIncident
in interfaceIncidentState
-