Package org.apache.pekko.actor
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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.actor.AbstractActor
AbstractActor.ActorContext, AbstractActor.ReceiveNested classes/interfaces inherited from interface org.apache.pekko.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal TimerSchedulerStart and cancel timers via the enclosedTimerScheduler.Methods inherited from class org.apache.pekko.actor.UntypedAbstractActor
createReceive, onReceive, receive, unhandledMethods inherited from class org.apache.pekko.actor.AbstractActor
context, emptyBehavior, getContext, getSelf, getSender, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, postRestart, postStop, preRestart, preRestart, preStart, receiveBuilder, self, supervisorStrategyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.Actor
aroundPostRestart, aroundPreStart, context, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandledMethods inherited from interface org.apache.pekko.actor.ActorLogging
_log_$eq, logMethods inherited from interface org.apache.pekko.actor.Timers
actorCell, aroundPostStop, aroundPreRestart, aroundReceive, super$aroundPostStop, super$aroundPreRestart, super$aroundReceive, timers
-
Constructor Details
-
UntypedAbstractLoggingActorWithTimers
public UntypedAbstractLoggingActorWithTimers()
-
-
Method Details
-
getTimers
Start and cancel timers via the enclosedTimerScheduler.
-