Interface TimerInstanceState
-
- All Known Subinterfaces:
MutableTimerInstanceState
- All Known Implementing Classes:
DbTimerInstanceState
public interface TimerInstanceState
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TimerInstanceState.TimerVisitor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
findTimersWithDueDateBefore(long timestamp, TimerInstanceState.TimerVisitor consumer)
void
forEachTimerForElementInstance(long elementInstanceKey, Consumer<TimerInstance> action)
NOTE: the timer instance given to the consumer is shared and will be mutated on the next iteration.TimerInstance
get(long elementInstanceKey, long timerKey)
-
-
-
Method Detail
-
findTimersWithDueDateBefore
long findTimersWithDueDateBefore(long timestamp, TimerInstanceState.TimerVisitor consumer)
-
forEachTimerForElementInstance
void forEachTimerForElementInstance(long elementInstanceKey, Consumer<TimerInstance> action)
NOTE: the timer instance given to the consumer is shared and will be mutated on the next iteration.
-
get
TimerInstance get(long elementInstanceKey, long timerKey)
-
-