Class DbBlackListState
java.lang.Object
io.camunda.zeebe.engine.state.processing.DbBlackListState
- All Implemented Interfaces:
BlackListState,MutableBlackListState,StreamProcessorLifecycleAware
-
Constructor Summary
ConstructorsConstructorDescriptionDbBlackListState(ZeebeDb<ZbColumnFamilies> zeebeDb, TransactionContext transactionContext, int partitionId) -
Method Summary
Modifier and TypeMethodDescriptionvoidblacklistProcessInstance(long processInstanceKey) booleanisEmpty()booleanisOnBlacklist(TypedRecord record) voidstatic booleanshouldBeBlacklisted(Intent intent) booleantryToBlacklist(TypedRecord<?> typedRecord, Consumer<Long> onBlacklistingInstance) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.stream.api.StreamProcessorLifecycleAware
onClose, onFailed, onPaused, onResumed
-
Constructor Details
-
DbBlackListState
public DbBlackListState(ZeebeDb<ZbColumnFamilies> zeebeDb, TransactionContext transactionContext, int partitionId)
-
-
Method Details
-
onRecovered
- Specified by:
onRecoveredin interfaceStreamProcessorLifecycleAware
-
isOnBlacklist
- Specified by:
isOnBlacklistin interfaceBlackListState
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceBlackListState
-
tryToBlacklist
- Specified by:
tryToBlacklistin interfaceMutableBlackListState
-
blacklistProcessInstance
public void blacklistProcessInstance(long processInstanceKey) - Specified by:
blacklistProcessInstancein interfaceMutableBlackListState
-
shouldBeBlacklisted
-