Java API: Support for scheduled self messages via TimerScheduler.
Java API: Support for scheduled self messages via TimerScheduler.
Timers are bound to the lifecycle of the actor that owns it, and thus are cancelled automatically when it is restarted or stopped.
Support for scheduled self messages in an actor.
Support for scheduled self messages in an actor.
It is used by mixing in trait Timers in Scala or extending AbstractActorWithTimers
in Java.
Timers are bound to the lifecycle of the actor that owns it, and thus are cancelled automatically when it is restarted or stopped.
TimerScheduler is not thread-safe, i.e. it must only be used within
the actor that owns it.
Scala API: Mix in Timers into your Actor to get support for scheduled
self messages via TimerScheduler.
Scala API: Mix in Timers into your Actor to get support for scheduled
self messages via TimerScheduler.
Timers are bound to the lifecycle of the actor that owns it, and thus are cancelled automatically when it is restarted or stopped.