Search Results for

    Show / Hide Table of Contents

    Class MultiNodeConfig

    Configure the role names and participants of the test, including configuration settings

    Inheritance
    object
    MultiNodeConfig
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Remote.TestKit
    Assembly: Akka.Remote.TestKit.dll
    Syntax
    public abstract class MultiNodeConfig

    Constructors

    | Edit this page View Source

    MultiNodeConfig()

    Declaration
    protected MultiNodeConfig()

    Properties

    | Edit this page View Source

    CommonConfig

    Register a common base config for all test participants, if so desired.

    Declaration
    public Config CommonConfig { set; }
    Property Value
    Type Description
    Config
    | Edit this page View Source

    Myself

    Declaration
    public RoleName Myself { get; }
    Property Value
    Type Description
    RoleName
    | Edit this page View Source

    Roles

    Declaration
    public ImmutableList<RoleName> Roles { get; }
    Property Value
    Type Description
    ImmutableList<RoleName>
    | Edit this page View Source

    TestTransport

    To be able to use blackhole, passThrough, and throttle you must activate the failure injector and throttler transport adapters by specifying testTransport(on = true) in your MultiNodeConfig.

    Declaration
    public bool TestTransport { set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    DebugConfig(bool)

    Include for verbose debug logging

    Declaration
    public Config DebugConfig(bool on)
    Parameters
    Type Name Description
    bool on

    when true debug Config is returned, otherwise config with info logging

    Returns
    Type Description
    Config
    | Edit this page View Source

    DeployOn(RoleName, string)

    Declaration
    public void DeployOn(RoleName role, string deployment)
    Parameters
    Type Name Description
    RoleName role
    string deployment
    | Edit this page View Source

    DeployOnAll(string)

    Declaration
    public void DeployOnAll(string deployment)
    Parameters
    Type Name Description
    string deployment
    | Edit this page View Source

    NodeConfig(IEnumerable<RoleName>, IEnumerable<Config>)

    Register a config override for a specific participant.

    Declaration
    public void NodeConfig(IEnumerable<RoleName> roles, IEnumerable<Config> configs)
    Parameters
    Type Name Description
    IEnumerable<RoleName> roles
    IEnumerable<Config> configs
    | Edit this page View Source

    Role(string)

    Declaration
    public RoleName Role(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    RoleName

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    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