The deadLetter address is a destination that will accept (and discard) every message sent to it.
Facilities for lookup up thread-pools from configuration.
ClassLoader wrapper which is used for reflective accesses internally.
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.
The default thread pool of this ActorSystem, configured with settings in akka.actor.default-dispatcher
.
Returns the payload that is associated with the provided extension throws an IllegalStateException if it is not registered.
Returns the payload that is associated with the provided extension throws an IllegalStateException if it is not registered. This method can potentially block, waiting for the initialization of the payload, if is in the process of registration from another Thread of execution
Returns a CompletionStage which will be completed after the ActorSystem has been terminated and termination hooks have been executed.
Returns whether the specified extension is already registered, this method can potentially block, waiting for the initialization of the payload, if is in the process of registration from another Thread of execution
Returns whether the specified extension is already registered, this method can potentially block, waiting for the initialization of the payload, if is in the process of registration from another Thread of execution
A akka.actor.typed.Logger that can be used to emit log messages without specifying a more detailed source.
A akka.actor.typed.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’s ActorContext
as that ties the log entries to the actor.
Log the configuration.
The name of this actor system, used to distinguish multiple ones within the same JVM & class loader.
Narrow the type of this ActorRef
, which is always a safe operation.
Narrow the type of this ActorRef
, which is always a safe operation.
The hierarchical path name of the referenced Actor.
The hierarchical path name of the referenced Actor. The lifecycle of the ActorRef is fully contained within the lifecycle of the akka.actor.ActorPath and more than one Actor instance can exist with the same path at different points in time, but not concurrently.
Create a string representation of the actor hierarchy within this system for debugging purposes.
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 “API”.
Registers the provided extension and creates its payload, if this extension isn't already registered This method has putIfAbsent-semantics, this method can potentially block, waiting for the initialization of the payload, if is in the process of registration from another Thread of execution
Registers the provided extension and creates its payload, if this extension isn't already registered This method has putIfAbsent-semantics, this method can potentially block, waiting for the initialization of the payload, if is in the process of registration from another Thread of execution
A generic scheduler that can initiate the execution of tasks after some delay.
A generic scheduler that can initiate the execution of tasks after some delay. It is recommended to use the ActorContext’s scheduling capabilities for sending messages to actors instead of registering a Runnable for execution using this facility.
The core settings extracted from the supplied configuration.
Start-up time in milliseconds since the epoch.
Create an actor in the "/system" namespace.
Send a message to the Actor referenced by this ActorRef using *at-most-once* messaging semantics.
Send a message to the Actor referenced by this ActorRef using *at-most-once* messaging semantics.
Terminates this actor system.
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).
A ThreadFactory that can be used if the transport needs to create any Threads
Unsafe utility method for widening the type accepted by this ActorRef;
provided to avoid having to use asInstanceOf
on the full reference type,
which would unfortunately also work on non-ActorRefs.
Unsafe utility method for widening the type accepted by this ActorRef;
provided to avoid having to use asInstanceOf
on the full reference type,
which would unfortunately also work on non-ActorRefs.
Up-time of this actor system in seconds.
Returns a Future which will be completed after the ActorSystem has been terminated and termination hooks have been executed.
Send a message to the Actor referenced by this ActorRef using *at-most-once* messaging semantics.
Send a message to the Actor referenced by this ActorRef using *at-most-once* messaging semantics.
Return a reference to this system’s akka.actor.typed.receptionist.Receptionist.
An ActorSystem is home to a hierarchy of Actors. It is created using ActorSystem#apply from a Behavior object that describes the root Actor of this hierarchy and which will create all other Actors beneath it. A system also implements the ActorRef type, and sending a message to the system directs that message to the root Actor.
Not for user extension.