Düzenle

Aracılığıyla paylaş


GrainStateWithMetaData<TView>.WriteVector Property

Definition

Metadata that is used to avoid duplicate appends. Logically, this is a (string->bit) map, the keys being replica ids But this map is represented compactly as a simple string to reduce serialization/deserialization overhead Bits are read by GetBit(String) and flipped by FlipBit(String). Bits are toggled when writing, so that the retry logic can avoid appending an entry twice when retrying a failed append.

public string WriteVector { get; set; }
[Orleans.Id(2)]
public string WriteVector { get; set; }
member this.WriteVector : string with get, set
[<Orleans.Id(2)>]
member this.WriteVector : string with get, set
Public Property WriteVector As String

Property Value

Attributes

Applies to