Package org.apache.pekko.actor
Class ExtendedActorSystem
java.lang.Object
org.apache.pekko.actor.ActorSystem
org.apache.pekko.actor.ExtendedActorSystem
- All Implemented Interfaces:
ActorRefFactory,ClassicActorSystemProvider
More powerful interface to the actor system’s implementation which is presented to extensions (see
pekko.actor.Extension).
Important Notice:
This class is not meant to be extended by user code. If you want to actually roll your own Pekko, beware that you are completely on your own in that case!
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.actor.ActorSystem
ActorSystem.Settings, ActorSystem.Settings$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DynamicAccessClassLoader wrapper which is used for reflective accesses internally.abstract org.apache.pekko.actor.InternalActorRefguardian()The top-level supervisor of all actors created using system.actorOf(...).abstract LoggingFilterFilter of log events that is used by the LoggingAdapter before publishing log events to the eventStreamabstract ActorRefProviderprovider()The ActorRefProvider is the only entity which creates all actor references within this actor system.abstract ActorRefsystemActorOf(Props props, String name) Create an actor in the "/system" namespace.abstract org.apache.pekko.actor.InternalActorRefThe top-level supervisor of all system-internal services like logging.abstract ThreadFactoryA ThreadFactory that can be used if the transport needs to create any ThreadsMethods inherited from class org.apache.pekko.actor.ActorSystem
$div, $div, apply, apply, apply, apply, apply, apply, apply, apply$default$2, apply$default$3, apply$default$4, child, create, create, create, create, create, create, create, deadLetters, descendant, dispatcher, dispatchers, eventStream, extension, getDispatcher, getEventStream, getScheduler, getWhenTerminated, hasExtension, log, logConfiguration, mailboxes, name, registerExtension, registerOnTermination, registerOnTermination, scheduler, settings, startTime, terminate, uptime, Version, whenTerminatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.ActorRefFactory
actorOf, actorOf, actorSelection, actorSelection, lookupRoot, stop, systemImplMethods inherited from interface org.apache.pekko.actor.ClassicActorSystemProvider
classicSystem
-
Constructor Details
-
ExtendedActorSystem
public ExtendedActorSystem()
-
-
Method Details
-
dynamicAccess
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. -
guardian
public abstract org.apache.pekko.actor.InternalActorRef guardian()The top-level supervisor of all actors created using system.actorOf(...). -
logFilter
Filter of log events that is used by the LoggingAdapter before publishing log events to the eventStream -
provider
The ActorRefProvider is the only entity which creates all actor references within this actor system. -
systemActorOf
Create an actor in the "/system" namespace. This actor will be shut down during system.terminate only after all user actors have terminated.This is only intended to be used by libraries (and Pekko itself). Applications should use ordinary
actorOf. -
systemGuardian
public abstract org.apache.pekko.actor.InternalActorRef systemGuardian()The top-level supervisor of all system-internal services like logging. -
threadFactory
A ThreadFactory that can be used if the transport needs to create any Threads
-