Interface Timers

    • Method Detail

      • actorCell

        org.apache.pekko.actor.ActorCell actorCell()
      • aroundPostStop

        void aroundPostStop()
        Description copied from interface: Actor
        INTERNAL API.

        Can be overridden to intercept calls to postStop. Calls postStop by default.

        Specified by:
        aroundPostStop in interface Actor
      • aroundPreRestart

        void aroundPreRestart​(java.lang.Throwable reason,
                              scala.Option<java.lang.Object> message)
        Description copied from interface: Actor
        INTERNAL API.

        Can be overridden to intercept calls to preRestart. Calls preRestart by default.

        Specified by:
        aroundPreRestart in interface Actor
      • aroundReceive

        void aroundReceive​(scala.PartialFunction<java.lang.Object,​scala.runtime.BoxedUnit> receive,
                           java.lang.Object msg)
        Description copied from interface: Actor
        INTERNAL API.

        Can be overridden to intercept calls to this actor's current behavior.

        Specified by:
        aroundReceive in interface Actor
        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 enclosed TimerScheduler.
      • 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 enclosed TimerScheduler.