Class DeltaPropagation
Inheritance
DeltaPropagation
Assembly: Akka.DistributedData.dll
Syntax
public sealed class DeltaPropagation : IReplicatorMessage, IEquatable<DeltaPropagation>
Constructors
|
Improve this Doc
View Source
DeltaPropagation(UniqueAddress, Boolean, ImmutableDictionary<String, Delta>)
Declaration
public DeltaPropagation(UniqueAddress fromNode, bool shouldReply, ImmutableDictionary<string, Delta> deltas)
Parameters
Fields
|
Improve this Doc
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 Akka.DistributedData.DeltaPropagationSelector.CreateDeltaPropagation(System.Collections.Immutable.ImmutableDictionary{System.String,System.ValueTuple{Akka.DistributedData.IReplicatedData,System.Int64,System.Int64}}), i.e. never sent to the other replicas.
Declaration
public static readonly IReplicatedDelta NoDeltaPlaceholder
Field Value
Properties
|
Improve this Doc
View Source
Deltas
Declaration
public ImmutableDictionary<string, Delta> Deltas { get; }
Property Value
Type |
Description |
System.Collections.Immutable.ImmutableDictionary<String, Delta> |
|
|
Improve this Doc
View Source
FromNode
Declaration
public UniqueAddress FromNode { get; }
Property Value
|
Improve this Doc
View Source
ShouldReply
Declaration
public bool ShouldReply { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(DeltaPropagation)
Declaration
public bool Equals(DeltaPropagation other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements
Extension Methods