Search Results for

    Show / Hide Table of Contents

    Class ExtendedActorSystem

    More powerful interface to the actor system’s implementation which is presented to extensions (see IExtension). Important Notice:

    This class is not meant to be extended by user code. If you want to actually roll your own Akka, beware that you are completely on your own in that case!

    Inheritance
    object
    ActorSystem
    ExtendedActorSystem
    ActorSystemImpl
    Implements
    IActorRefFactory
    IDisposable
    Inherited Members
    ActorSystem.Settings
    ActorSystem.Name
    ActorSystem.Serialization
    ActorSystem.EventStream
    ActorSystem.DeadLetters
    ActorSystem.IgnoreRef
    ActorSystem.Dispatchers
    ActorSystem.Mailboxes
    ActorSystem.Scheduler
    ActorSystem.Log
    ActorSystem.StartTime
    ActorSystem.Uptime
    ActorSystem.Create(string, Config)
    ActorSystem.Create(string, BootstrapSetup)
    ActorSystem.Create(string, ActorSystemSetup)
    ActorSystem.Create(string)
    ActorSystem.GetExtension(IExtensionId)
    ActorSystem.GetExtension<T>()
    ActorSystem.HasExtension(Type)
    ActorSystem.HasExtension<T>()
    ActorSystem.TryGetExtension(Type, out object)
    ActorSystem.TryGetExtension<T>(out T)
    ActorSystem.RegisterOnTermination(Action)
    ActorSystem.Terminate()
    ActorSystem.WhenTerminated
    ActorSystem.Stop(IActorRef)
    ActorSystem.Dispose()
    ActorSystem.RegisterExtension(IExtensionId)
    ActorSystem.ActorOf(Props, string)
    ActorSystem.ActorSelection(ActorPath)
    ActorSystem.ActorSelection(string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public abstract class ExtendedActorSystem : ActorSystem, IActorRefFactory, IDisposable

    Properties

    | Edit this page View Source

    ActorPipelineResolver

    Gets the actor producer pipeline resolver for current actor system. It may be used by Akka plugins to inject custom behavior directly into actor creation chain.

    Declaration
    public abstract ActorProducerPipelineResolver ActorPipelineResolver { get; }
    Property Value
    Type Description
    ActorProducerPipelineResolver
    | Edit this page View Source

    Guardian

    Gets the top-level supervisor of all user actors created using system.ActorOf(...)

    Declaration
    public abstract IInternalActorRef Guardian { get; }
    Property Value
    Type Description
    IInternalActorRef
    | Edit this page View Source

    LookupRoot

    The Akka.Actor.RootGuardianActorRef, used as the lookup for IActorRef resolutions.

    Declaration
    public abstract IInternalActorRef LookupRoot { get; }
    Property Value
    Type Description
    IInternalActorRef
    | Edit this page View Source

    Provider

    Gets the provider.

    Declaration
    public abstract IActorRefProvider Provider { get; }
    Property Value
    Type Description
    IActorRefProvider

    The provider.

    | Edit this page View Source

    SystemGuardian

    Gets the top-level supervisor of all system-internal services like logging.

    Declaration
    public abstract IInternalActorRef SystemGuardian { get; }
    Property Value
    Type Description
    IInternalActorRef

    Methods

    | Edit this page View Source

    Abort()

    Aggressively terminates an ActorSystem without waiting for the normal shutdown process to run as-is.

    Declaration
    public abstract void Abort()
    | Edit this page View Source

    PrintTree()

    Declaration
    public abstract string PrintTree()
    Returns
    Type Description
    string
    | Edit this page View Source

    SystemActorOf(Props, string)

    Creates a new system actor in the "/system" namespace. This actor will be shut down during system shutdown only after all user actors have terminated.

    Declaration
    public abstract IActorRef SystemActorOf(Props props, string name = null)
    Parameters
    Type Name Description
    Props props

    The Props used to create the actor

    string name

    The name of the actor to create. The default value is null.

    Returns
    Type Description
    IActorRef

    A reference to the newly created actor

    | Edit this page View Source

    SystemActorOf<TActor>(string)

    Creates a new system actor in the "/system" namespace. This actor will be shut down during system shutdown only after all user actors have terminated.

    Declaration
    public abstract IActorRef SystemActorOf<TActor>(string name = null) where TActor : ActorBase, new()
    Parameters
    Type Name Description
    string name

    The name of the actor to create. The default value is null.

    Returns
    Type Description
    IActorRef

    A reference to the newly created actor

    Type Parameters
    Name Description
    TActor

    The type of actor to create

    Implements

    IActorRefFactory
    IDisposable

    Extension Methods

    ActorSystemWithExtensions.WithExtension<T>(ActorSystem)
    ActorSystemWithExtensions.WithExtension<T>(ActorSystem, Type)
    ActorSystemWithExtensions.WithExtension<T, TI>(ActorSystem)
    DistributedDataExtensions.DistributedData(ActorSystem)
    TcpExtensions.Tcp(ActorSystem)
    UdpExtensions.Udp(ActorSystem)
    PersistenceQueryExtensions.ReadJournalFor<TJournal>(ActorSystem, string)
    TcpStreamExtensions.TcpStream(ActorSystem)
    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    ActorRefFactoryExtensions.ActorOf<TActor>(IActorRefFactory, string)
    ActorRefFactoryExtensions.ActorSelection(IActorRefFactory, IActorRef, string)
    ActExtensions.ActorOf(IActorRefFactory, Action<IActorDsl, IActorContext>, string)
    ActExtensions.ActorOf(IActorRefFactory, Action<IActorDsl>, string)
    ActorMaterializerExtensions.Materializer(IActorRefFactory, ActorMaterializerSettings, string)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET