Package akka.actor
Interface Timers
-
- All Superinterfaces:
Actor
- All Known Implementing Classes:
AbstractActorWithTimers,AbstractPersistentActorWithTimers,AsyncDnsManager,DDataShard,PersistentShard,Shard
public interface Timers extends Actor
Start and cancel timers via the enclosedTimerScheduler.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActorCellactorCell()voidaroundPostStop()INTERNAL API.voidaroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)INTERNAL API.voidaroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)INTERNAL API.voidsuper$aroundPostStop()voidsuper$aroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)Start and cancel timers via the enclosedTimerScheduler.voidsuper$aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)TimerSchedulertimers()Start and cancel timers via the enclosedTimerScheduler.-
Methods inherited from interface akka.actor.Actor
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPreStart, context, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
-
-
-
-
Method Detail
-
actorCell
ActorCell actorCell()
-
aroundPostStop
void aroundPostStop()
Description copied from interface:ActorINTERNAL API.Can be overridden to intercept calls to
postStop. CallspostStopby default.- Specified by:
aroundPostStopin interfaceActor
-
aroundPreRestart
void aroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)Description copied from interface:ActorINTERNAL API.Can be overridden to intercept calls to
preRestart. CallspreRestartby default.- Specified by:
aroundPreRestartin interfaceActor- Parameters:
reason- (undocumented)message- (undocumented)
-
aroundReceive
void aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)Description copied from interface:ActorINTERNAL API.Can be overridden to intercept calls to this actor's current behavior.
- Specified by:
aroundReceivein interfaceActor- Parameters:
receive- current behavior.msg- current message.
-
super$aroundPostStop
void super$aroundPostStop()
-
super$aroundPreRestart
void super$aroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)Start and cancel timers via the enclosedTimerScheduler.- Parameters:
reason- (undocumented)message- (undocumented)
-
super$aroundReceive
void super$aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)
-
timers
TimerScheduler timers()
Start and cancel timers via the enclosedTimerScheduler.- Returns:
- (undocumented)
-
-