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 Details

    • UntypedAbstractActorWithTimers

      public UntypedAbstractActorWithTimers()
  • Method Details

    • getTimers

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