Search Results for

    Show / Hide Table of Contents

    Class OneForOneStrategy.OneForOneStrategySurrogate

    This class represents a surrogate of a OneForOneStrategy router. Its main use is to help during the serialization process.

    Inheritance
    object
    OneForOneStrategy.OneForOneStrategySurrogate
    Implements
    ISurrogate
    Inherited Members
    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 class OneForOneStrategy.OneForOneStrategySurrogate : ISurrogate

    Properties

    | Edit this page View Source

    Decider

    The mapping from an Exception to Directive

    Declaration
    public IDecider Decider { get; set; }
    Property Value
    Type Description
    IDecider
    | Edit this page View Source

    LoggingEnabled

    Determines if failures are logged

    Declaration
    public bool LoggingEnabled { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MaxNumberOfRetries

    The number of times a child actor is allowed to be restarted, negative value means no limit, if the limit is exceeded the child actor is stopped.

    Declaration
    public int MaxNumberOfRetries { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    WithinTimeRangeMilliseconds

    The duration in milliseconds of the time window for MaxNumberOfRetries, negative values means no window.

    Declaration
    public int WithinTimeRangeMilliseconds { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    FromSurrogate(ActorSystem)

    Creates a OneForOneStrategy encapsulated by this surrogate.

    Declaration
    public ISurrogated FromSurrogate(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system

    The actor system that owns this router.

    Returns
    Type Description
    ISurrogated

    The OneForOneStrategy encapsulated by this surrogate.

    Implements

    ISurrogate

    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