Click or drag to resize
Akka.NETActorSystemImpl Class
TBD
Remarks
Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.
Inheritance Hierarchy

Namespace:  Akka.Actor.Internal
Assembly:  Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public class ActorSystemImpl : ExtendedActorSystem

The ActorSystemImpl type exposes the following members.

Constructors
  NameDescription
Public methodActorSystemImpl(String)
Initializes a new instance of the ActorSystemImpl class.
Public methodActorSystemImpl(String, Config)
Initializes a new instance of the ActorSystemImpl class.
Top
Properties
  NameDescription
Public propertyActorPipelineResolver
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ExtendedActorSystem.ActorPipelineResolver.)
Public propertyDeadLetters
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ActorSystem.DeadLetters.)
Public propertyDispatchers
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ActorSystem.Dispatchers.)
Public propertyEventStream
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ActorSystem.EventStream.)
Public propertyGuardian
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ExtendedActorSystem.Guardian.)
Public propertyLog
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ActorSystem.Log.)
Public propertyLookupRoot
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ExtendedActorSystem.LookupRoot.)
Public propertyMailboxes
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ActorSystem.Mailboxes.)
Public propertyName
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ActorSystem.Name.)
Public propertyProvider
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ExtendedActorSystem.Provider.)
Public propertyScheduler
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ActorSystem.Scheduler.)
Public propertySerialization
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ActorSystem.Serialization.)
Public propertySettings
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ActorSystem.Settings.)
Public propertyStartTime
Start-up time since the epoch.
(Inherited from ActorSystem.)
Public propertySystemGuardian
An actor system is a hierarchical group of actors which share common configuration, e.g. dispatchers, deployments, remote capabilities and addresses. It is also the entry point for creating or looking up actors. There are several possibilities for creating actors (see Props for details on `props`):
system.ActorOf(props, "name");
system.ActorOf(props);
system.ActorOf(Props.Create(typeof(MyActor)), "name");
system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Where no name is given explicitly, one will be automatically generated. Important Notice: This class is not meant to be extended by user code.
(Overrides ExtendedActorSystem.SystemGuardian.)
Public propertyUptime
Up-time of this actor system.
(Inherited from ActorSystem.)
Public propertyWhenTerminated
Returns a task which will be completed after the ActorSystem has been terminated and termination hooks have been executed. Be careful to not schedule any operations on the `dispatcher` of this actor system as it will have been shut down before this task completes.
(Overrides ActorSystem.WhenTerminated.)
Top
Methods
  NameDescription
Public methodAbort
Shuts down the ActorSystem without all of the usual guarantees, i.e. we may not guarantee that remotely deployed actors are properly shut down when we abort.
(Overrides ExtendedActorSystem.Abort().)
Public methodActorOf
TBD
(Overrides ActorSystem.ActorOf(Props, String).)
Public methodActorSelection(String)
TBD
(Overrides ActorSystem.ActorSelection(String).)
Public methodActorSelection(ActorPath)
TBD
(Overrides ActorSystem.ActorSelection(ActorPath).)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ActorSystem.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetExtension(IExtensionId)
Retrieves the specified extension that is registered to this actor system.
(Overrides ActorSystem.GetExtension(IExtensionId).)
Public methodGetExtension<T>()
Retrieves an extension with the specified type that is registered to this actor system.
(Overrides ActorSystem.GetExtension<T>().)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasExtension(Type)
Determines whether this actor system has an extension with the specified type.
(Overrides ActorSystem.HasExtension(Type).)
Public methodHasExtension<T>()
Determines whether this actor system has the specified extension.
(Overrides ActorSystem.HasExtension<T>().)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegisterExtension
Registers the specified extension with this actor system.
(Overrides ActorSystem.RegisterExtension(IExtensionId).)
Public methodRegisterOnTermination

Registers a block of code (callback) to run after ActorSystem.shutdown has been issued and all actors in this actor system have been stopped. Multiple code blocks may be registered by calling this method multiple times.

The callbacks will be run sequentially in reverse order of registration, i.e. last registration is run first.

(Overrides ActorSystem.RegisterOnTermination(Action).)
Public methodStart
Starts this system
Public methodStop
Stops the specified actor permanently.
(Overrides ActorSystem.Stop(IActorRef).)
Public methodSystemActorOf(Props, String)
Creates a new system actor that lives under the "/system" guardian.
(Overrides ExtendedActorSystem.SystemActorOf(Props, String).)
Public methodSystemActorOf<TActor>(String)
Creates a new system actor that lives under the "/system" guardian.
(Overrides ExtendedActorSystem.SystemActorOf<TActor>(String).)
Public methodTerminate

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) and the execute all registered termination handlers (RegisterOnTermination(Action)).

Be careful to not schedule any operations on completion of the returned task using the `dispatcher` of this actor system as it will have been shut down before the task completes.

(Overrides ActorSystem.Terminate().)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetExtension(Type, Object)
Tries to retrieve an extension with the specified type.
(Overrides ActorSystem.TryGetExtension(Type, Object).)
Public methodTryGetExtension<T>(T)
Tries to retrieve an extension with the specified type
(Inherited from ActorSystem.)
Public methodTryGetExtension<T>(T)
Tries to retrieve an extension with the specified type.
(Overrides ActorSystem.TryGetExtension<T>(T).)
Top
Extension Methods
  NameDescription
Public Extension MethodAddDependencyResolver
Registers a dependency resolver with a given actor system.
(Defined by Extensions.)
Public Extension MethodAsInstanceOf<T>
TBD
(Defined by Extensions.)
Public Extension MethodDI
Creates an adapter used to generate Props configuration objects using the DI extension using a given actor system.
(Defined by Extensions.)
Public Extension MethodDistributedData
Returns th DistributedData(ActorSystem) extension configured for provided system. Configuration is supplied automatically from HOCON config under the path: `akka.cluster.distributed-data`
(Defined by DistributedDataExtensions.)
Public Extension MethodMatch()Overloaded.
Matches the specified target.
(Defined by PatternMatch.)
Public Extension MethodMatch<T>()Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.)
Public Extension MethodReadJournalFor<TJournal> (Defined by PersistenceQueryExtensions.)
Public Extension MethodTcp
TBD
(Defined by TcpExtensions.)
Public Extension MethodTcpStream
TBD
(Defined by TcpStreamExtensions.)
Public Extension MethodUdp
TBD
(Defined by UdpExtensions.)
Public Extension MethodWithExtension<T>()Overloaded.
Retrieves the extension specified by a given type, T, from a given actor system.
(Defined by ActorSystemWithExtensions.)
Public Extension MethodWithExtension<T>(Type)Overloaded.
Retrieves the extension specified by a given type, T, from a given actor system. If the extension does not exist within the actor system, then the extension specified by extensionId is registered to the actor system.
(Defined by ActorSystemWithExtensions.)
Public Extension MethodWithExtension<T, TI>()Overloaded.
Retrieves the extension specified by a given type, T, from a given actor system. If the extension does not exist within the actor system, then the extension specified by TI is registered to the actor system.
(Defined by ActorSystemWithExtensions.)
Top
See Also