Class DbTimerInstanceState
java.lang.Object
io.camunda.zeebe.engine.state.instance.DbTimerInstanceState
- All Implemented Interfaces:
TimerInstanceState,MutableTimerInstanceState
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.state.immutable.TimerInstanceState
TimerInstanceState.TimerVisitor -
Constructor Summary
ConstructorsConstructorDescriptionDbTimerInstanceState(ZeebeDb<ZbColumnFamilies> zeebeDb, TransactionContext transactionContext) -
Method Summary
Modifier and TypeMethodDescriptionlongfindTimersWithDueDateBefore(long timestamp, TimerInstanceState.TimerVisitor consumer) voidforEachTimerForElementInstance(long elementInstanceKey, Consumer<TimerInstance> action) NOTE: the timer instance given to the consumer is shared and will be mutated on the next iteration.get(long elementInstanceKey, long timerKey) voidput(TimerInstance timer) voidremove(TimerInstance timer)
-
Constructor Details
-
DbTimerInstanceState
public DbTimerInstanceState(ZeebeDb<ZbColumnFamilies> zeebeDb, TransactionContext transactionContext)
-
-
Method Details
-
put
- Specified by:
putin interfaceMutableTimerInstanceState
-
findTimersWithDueDateBefore
- Specified by:
findTimersWithDueDateBeforein interfaceTimerInstanceState
-
forEachTimerForElementInstance
Description copied from interface:TimerInstanceStateNOTE: the timer instance given to the consumer is shared and will be mutated on the next iteration.- Specified by:
forEachTimerForElementInstancein interfaceTimerInstanceState
-
get
- Specified by:
getin interfaceTimerInstanceState
-
remove
- Specified by:
removein interfaceMutableTimerInstanceState
-