system.ActorOf(props, "name"); system.ActorOf(props); system.ActorOf(Props.Create(typeof(MyActor)), "name"); system.ActorOf(Props.Create(() => new MyActor(arg1, arg2), "name");
Thetype exposes the following members.
Gets the dead letters.
Gets the dispatchers.
Gets the event stream.
Gets the log
Gets the mailboxes.
Gets the name of this system.
Gets the scheduler.
Gets the serialization.
Gets the settings.
Start-up time since the epoch.
Up-time of this actor system.
Returns a task which will be completed after thehas 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.
Creates a newwith the specified name.
Creates a newwith the specified name and configuration.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Retrieves the specified extension that is registered to this actor system.
Retrieves an extension with the specified type that is registered to this actor system.
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Determines whether this actor system has an extension with the specified type.
Determines whether this actor system has the specified extension.
Creates a shallow copy of the current Object.(Inherited from Object.)
Registers the specified extension with this actor system.
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.
Stops the specified actor permanently.
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.
Returns a string that represents the current object.(Inherited from Object.)
Tries to retrieve an extension with the specified type.
Tries to retrieve an extension with the specified type
|ActorOf(ActionIActorDsl, String)||Overloaded. |
TBD(Defined by ActExtensions.)
|ActorOf(ActionIActorDsl, IActorContext, String)||Overloaded. |
TBD(Defined by ActExtensions.)
TBD(Defined by ActorRefFactoryExtensions.)
Construct an ActorSelection from the given string representing a path relative to the given target. This operation has to create all the matching magic, so it is preferable to cache its result if the intention is to send messages frequently.(Defined by ActorRefFactoryExtensions.)
Registers a dependency resolver with a given actor system.(Defined by Extensions.)
TBD(Defined by Extensions.)
Creates an adapter used to generate Props configuration objects using the DI extension using a given actor system.(Defined by Extensions.)
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.)
Matches the specified target.(Defined by PatternMatch.)
Matches the specified target and return a result of target processing.(Defined by PatternMatch.)
(Defined by ActorMaterializerExtensions.)
Creates a ActorMaterializer which will execute every step of a transformation pipeline within its own ActorBase. The required IActorRefFactory (which can be either an or an IActorContext) will be used to create one actor that in turn creates actors for the transformation steps.
The materializer's ActorMaterializerSettings will be obtained from the configuration of the context's underlying .
The namePrefix is used as the first part of the names of the actors running the processing steps. The default namePrefix is "flow". The actor names are built up of namePrefix-flowNumber-flowStepNumber-stepName.
|ReadJournalForTJournal||(Defined by PersistenceQueryExtensions.)|
TBD(Defined by TcpExtensions.)
TBD(Defined by TcpStreamExtensions.)
TBD(Defined by UdpExtensions.)
Retrieves the extension specified by a given type, T, from a given actor system.(Defined by ActorSystemWithExtensions.)
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.)
|WithExtensionT, 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.)