Package org.apache.pekko.actor
Class UntypedAbstractActorWithTimers
- java.lang.Object
-
- org.apache.pekko.actor.AbstractActor
-
- org.apache.pekko.actor.UntypedAbstractActor
-
- org.apache.pekko.actor.UntypedAbstractActorWithTimers
-
public abstract class UntypedAbstractActorWithTimers extends UntypedAbstractActor implements Timers
Java API: Support for scheduledself
messages viaTimerScheduler
.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.pekko.actor.AbstractActor
AbstractActor.ActorContext, AbstractActor.Receive
-
Nested classes/interfaces inherited from interface org.apache.pekko.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
-
Constructor Summary
Constructors Constructor Description UntypedAbstractActorWithTimers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimerScheduler
getTimers()
Start and cancel timers via the enclosedTimerScheduler
.-
Methods inherited from class org.apache.pekko.actor.UntypedAbstractActor
createReceive, onReceive, receive, unhandled
-
Methods 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, supervisorStrategy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods 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, unhandled
-
Methods inherited from interface org.apache.pekko.actor.Timers
actorCell, aroundPostStop, aroundPreRestart, aroundReceive, super$aroundPostStop, super$aroundPreRestart, super$aroundReceive, timers
-
-
-
-
Method Detail
-
getTimers
public final TimerScheduler getTimers()
Start and cancel timers via the enclosedTimerScheduler
.
-
-