Package org.agrona
Interface DeadlineTimerWheel.TimerConsumer
- Enclosing class:
DeadlineTimerWheel
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Consumer of timer entries as deadline to timerId.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(long deadline, long timerId) Called for each timer in the Timer Wheel.
-
Method Details
-
accept
void accept(long deadline, long timerId) Called for each timer in the Timer Wheel.- Parameters:
deadline
- of the timer.timerId
- of the timer.
-