Search Results for

    Show / Hide Table of Contents

    Class DeltaPropagation

    Inheritance
    object
    DeltaPropagation
    Implements
    IReplicatorMessage
    IEquatable<DeltaPropagation>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.DistributedData.Internal
    Assembly: Akka.DistributedData.dll
    Syntax
    public sealed class DeltaPropagation : IReplicatorMessage, IEquatable<DeltaPropagation>

    Constructors

    | Edit this page View Source

    DeltaPropagation(UniqueAddress, bool, ImmutableDictionary<string, Delta>)

    Declaration
    public DeltaPropagation(UniqueAddress fromNode, bool shouldReply, ImmutableDictionary<string, Delta> deltas)
    Parameters
    Type Name Description
    UniqueAddress fromNode
    bool shouldReply
    ImmutableDictionary<string, Delta> deltas

    Fields

    | Edit this page View Source

    NoDeltaPlaceholder

    When a DeltaReplicatedData returns null from Delta it must still be treated as a delta that increase the version counter in Akka.DistributedData.DeltaPropagationSelector`. Otherwise a later delta might be applied before the full state gossip is received and thereby violating IRequireCausualDeliveryOfDeltas.

    This is used as a placeholder for such null delta. It's filtered out in CreateDeltaPropagation(ImmutableDictionary<string, (IReplicatedData data, long from, long to)>), i.e. never sent to the other replicas.

    Declaration
    public static readonly IReplicatedDelta NoDeltaPlaceholder
    Field Value
    Type Description
    IReplicatedDelta

    Properties

    | Edit this page View Source

    Deltas

    Declaration
    public ImmutableDictionary<string, Delta> Deltas { get; }
    Property Value
    Type Description
    ImmutableDictionary<string, Delta>
    | Edit this page View Source

    FromNode

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

    ShouldReply

    Declaration
    public bool ShouldReply { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Equals(DeltaPropagation)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(DeltaPropagation other)
    Parameters
    Type Name Description
    DeltaPropagation other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    | Edit this page View Source

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    Implements

    IReplicatorMessage
    IEquatable<T>

    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