Class UntypedAbstractActorWithTimers

  • All Implemented Interfaces:
    Actor, Timers

    public abstract class UntypedAbstractActorWithTimers
    extends UntypedAbstractActor
    implements Timers
    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.

    Since:
    1.1.0
    • Constructor Detail

      • UntypedAbstractActorWithTimers

        public UntypedAbstractActorWithTimers()
    • Method Detail

      • getTimers

        public final TimerScheduler getTimers()
        Start and cancel timers via the enclosed TimerScheduler.