Package io.aeron.cluster
Interface TimerService.TimerHandler
- Enclosing interface:
- TimerService
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Called from the
TimerService.poll(long).-
Method Summary
Modifier and TypeMethodDescriptionbooleanonTimerEvent(long correlationId) Invoked for each expired timer.
-
Method Details
-
onTimerEvent
boolean onTimerEvent(long correlationId) Invoked for each expired timer.- Parameters:
correlationId- of the timer.- Returns:
trueif the timer event was processed orfalseotherwise, i.e. the timer should be kept as non-expired.
-