Class UntypedAbstractLoggingActorWithTimers

java.lang.Object
org.apache.pekko.actor.AbstractActor
org.apache.pekko.actor.UntypedAbstractActor
org.apache.pekko.actor.UntypedAbstractLoggingActorWithTimers
All Implemented Interfaces:
Actor, ActorLogging, Timers

public abstract class UntypedAbstractLoggingActorWithTimers extends UntypedAbstractActor implements Timers, ActorLogging
Java API: Support for scheduled self messages via TimerScheduler, with logging.

Timers are bound to the lifecycle of the actor that owns it, and thus are cancelled automatically when it is restarted or stopped.

Since:
2.0.0
  • Constructor Details

    • UntypedAbstractLoggingActorWithTimers

      public UntypedAbstractLoggingActorWithTimers()
  • Method Details

    • getTimers

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