Class ActorSystemAdapter<T>

    • Constructor Detail

      • ActorSystemAdapter

        public ActorSystemAdapter​(ActorSystemImpl untypedSystem)
    • Method Detail

      • systemActorOf$default$3

        public static <U> Props systemActorOf$default$3()
      • narrow

        public static final <U extends T> ActorRef<U> narrow()
      • unsafeUpcast

        public static final <U> ActorRef<U> unsafeUpcast()
      • compareTo

        public static final int compareTo​(ActorRef<?> other)
      • hashCode

        public static final int hashCode()
      • equals

        public static final boolean equals​(java.lang.Object that)
      • akka$actor$typed$internal$ExtensionsImpl$$extensions

        public static java.util.concurrent.ConcurrentHashMap<ExtensionId<?>,​java.lang.Object> akka$actor$typed$internal$ExtensionsImpl$$extensions()
      • loadExtensions

        public static void loadExtensions()
      • registerExtension

        public static final <T extends Extension> T registerExtension​(ExtensionId<T> ext)
      • akka$actor$typed$internal$ExtensionsImpl$_setter_$akka$actor$typed$internal$ExtensionsImpl$$extensions_$eq

        protected abstract static void akka$actor$typed$internal$ExtensionsImpl$_setter_$akka$actor$typed$internal$ExtensionsImpl$$extensions_$eq​(java.util.concurrent.ConcurrentHashMap<ExtensionId<?>,​java.lang.Object> x$1)
      • tell

        public void tell​(T msg)
        Description copied from interface: ActorRef
        Send a message to the Actor referenced by this ActorRef using *at-most-once* messaging semantics.
        Specified by:
        tell in interface ActorRef<T>
        Specified by:
        tell in interface RecipientRef<T>
        Specified by:
        tell in class ActorSystem<T>
        Parameters:
        msg - (undocumented)
      • isTerminated

        public boolean isTerminated()
        Specified by:
        isTerminated in interface InternalRecipientRef<T>
        Returns:
        true if the actor is locally known to be terminated, false if alive or uncertain.
      • path

        public final ActorPath path()
        Description copied from interface: ActorRef
        The hierarchical path name of the referenced Actor. The lifecycle of the ActorRef is fully contained within the lifecycle of the ActorPath and more than one Actor instance can exist with the same path at different points in time, but not concurrently.
        Specified by:
        path in interface ActorRef<T>
        Specified by:
        path in class ActorSystem<T>
        Returns:
        (undocumented)
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface ActorRefImpl<T>
        Overrides:
        toString in class java.lang.Object
      • deadLetters

        public <U> ActorRef<U> deadLetters()
        Description copied from class: ActorSystem
        The deadLetter address is a destination that will accept (and discard) every message sent to it.
        Specified by:
        deadLetters in class ActorSystem<T>
        Returns:
        (undocumented)
      • dispatchers

        public Dispatchers dispatchers()
        Description copied from class: ActorSystem
        Facilities for lookup up thread-pools from configuration.
        Specified by:
        dispatchers in class ActorSystem<T>
        Returns:
        (undocumented)
      • dynamicAccess

        public DynamicAccess dynamicAccess()
        Description copied from class: ActorSystem
        ClassLoader wrapper which is used for reflective accesses internally. This is set to use the context class loader, if one is set, or the class loader which loaded the ActorSystem implementation. The context class loader is also set on all threads created by the ActorSystem, if one was set during creation.
        Specified by:
        dynamicAccess in class ActorSystem<T>
        Returns:
        (undocumented)
      • executionContext

        public scala.concurrent.ExecutionContextExecutor executionContext()
        Description copied from class: ActorSystem
        The default thread pool of this ActorSystem, configured with settings in akka.actor.default-dispatcher.
        Specified by:
        executionContext in class ActorSystem<T>
        Returns:
        (undocumented)
      • log

        public Logger log()
        Description copied from class: ActorSystem
        A Logger that can be used to emit log messages without specifying a more detailed source. Typically it is desirable to use the dedicated Logger available from each Actor&rsquo;s TypedActorContext as that ties the log entries to the actor.
        Specified by:
        log in class ActorSystem<T>
        Returns:
        (undocumented)
      • name

        public java.lang.String name()
        Description copied from class: ActorSystem
        The name of this actor system, used to distinguish multiple ones within the same JVM & class loader.
        Specified by:
        name in class ActorSystem<T>
        Returns:
        (undocumented)
      • scheduler

        public Scheduler scheduler()
        Description copied from class: ActorSystem
        A generic scheduler that can initiate the execution of tasks after some delay. It is recommended to use the ActorContext&rsquo;s scheduling capabilities for sending messages to actors instead of registering a Runnable for execution using this facility.
        Specified by:
        scheduler in class ActorSystem<T>
        Returns:
        (undocumented)
      • settings

        public Settings settings()
        Description copied from class: ActorSystem
        The core settings extracted from the supplied configuration.
        Specified by:
        settings in class ActorSystem<T>
        Returns:
        (undocumented)
      • startTime

        public long startTime()
        Description copied from class: ActorSystem
        Start-up time in milliseconds since the epoch.
        Specified by:
        startTime in class ActorSystem<T>
        Returns:
        (undocumented)
      • threadFactory

        public java.util.concurrent.ThreadFactory threadFactory()
        Description copied from class: ActorSystem
        A ThreadFactory that can be used if the transport needs to create any Threads
        Specified by:
        threadFactory in class ActorSystem<T>
        Returns:
        (undocumented)
      • uptime

        public long uptime()
        Description copied from class: ActorSystem
        Up-time of this actor system in seconds.
        Specified by:
        uptime in class ActorSystem<T>
        Returns:
        (undocumented)
      • printTree

        public java.lang.String printTree()
        Description copied from class: ActorSystem
        Create a string representation of the actor hierarchy within this system for debugging purposes.

        The format of the string is subject to change, i.e. no stable &ldquo;API&rdquo;.

        Specified by:
        printTree in class ActorSystem<T>
        Returns:
        (undocumented)
      • terminate

        public scala.concurrent.Future<Terminated> terminate()
        Description copied from class: ActorSystem
        Terminates this actor system. This will stop the guardian actor, which in turn will recursively stop all its child actors, then the system guardian (below which the logging actors reside).
        Specified by:
        terminate in class ActorSystem<T>
        Returns:
        (undocumented)
      • whenTerminated

        public scala.concurrent.Future<Terminated> whenTerminated()
        Description copied from class: ActorSystem
        Returns a Future which will be completed after the ActorSystem has been terminated and termination hooks have been executed.
        Specified by:
        whenTerminated in class ActorSystem<T>
        Returns:
        (undocumented)
      • getWhenTerminated

        public java.util.concurrent.CompletionStage<Terminated> getWhenTerminated()
        Description copied from class: ActorSystem
        Returns a CompletionStage which will be completed after the ActorSystem has been terminated and termination hooks have been executed.
        Specified by:
        getWhenTerminated in class ActorSystem<T>
        Returns:
        (undocumented)
      • systemActorOf

        public <U> scala.concurrent.Future<ActorRef<U>> systemActorOf​(Behavior<U> behavior,
                                                                      java.lang.String name,
                                                                      Props props,
                                                                      Timeout timeout)
        Description copied from class: ActorSystem
        Create an actor in the "/system" namespace. This actor will be shut down during system.terminate only after all user actors have terminated.

        The returned Future of ActorRef may be converted into an ActorRef to which messages can immediately be sent by using the ActorRef.apply method.

        Specified by:
        systemActorOf in class ActorSystem<T>
        Parameters:
        behavior - (undocumented)
        name - (undocumented)
        props - (undocumented)
        timeout - (undocumented)
        Returns:
        (undocumented)