Package akka.actor
Class AbstractActorWithTimers
- java.lang.Object
- 
- akka.actor.AbstractActor
- 
- akka.actor.AbstractActorWithTimers
 
 
- 
 public abstract class AbstractActorWithTimers extends AbstractActor implements Timers Java API: Support for scheduledselfmessages viaTimerScheduler.Timers are bound to the lifecycle of the actor that owns it, and thus are cancelled automatically when it is restarted or stopped. 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class akka.actor.AbstractActorAbstractActor.ActorContext, AbstractActor.Receive
 - 
Nested classes/interfaces inherited from interface akka.actor.ActorActor.emptyBehavior$, Actor.ignoringBehavior$
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractActorWithTimers()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TimerSchedulergetTimers()Start and cancel timers via the enclosedTimerScheduler.- 
Methods inherited from class akka.actor.AbstractActorakka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, context, createReceive, emptyBehavior, getContext, getSelf, getSender, postRestart, postStop, preRestart, preRestart, preStart, receive, receiveBuilder, self, supervisorStrategy
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface akka.actor.Actorakka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPreStart, context, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
 - 
Methods inherited from interface akka.actor.TimersactorCell, aroundPostStop, aroundPreRestart, aroundReceive, super$aroundPostStop, super$aroundPreRestart, super$aroundReceive, timers
 
- 
 
- 
- 
- 
Method Detail- 
getTimerspublic final TimerScheduler getTimers() Start and cancel timers via the enclosedTimerScheduler.
 
- 
 
-