Interface TimerInstanceState

All Known Subinterfaces:
MutableTimerInstanceState
All Known Implementing Classes:
DbTimerInstanceState

public interface TimerInstanceState
  • Method Details

    • 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)