Class SynchronizeResult
- Namespace
- Honua.Sdk.Offline.Abstractions
- Assembly
- Honua.Sdk.Abstractions.dll
Result of synchronizing a replica.
public sealed record SynchronizeResult : IEquatable<SynchronizeResult>
- Inheritance
-
SynchronizeResult
- Implements
- Inherited Members
Constructors
SynchronizeResult(string, long)
Result of synchronizing a replica.
public SynchronizeResult(string ReplicaId, long ServerGen)
Parameters
ReplicaIdstringThe replica identifier.
ServerGenlongThe generation delivered through by a download. Persist it locally only after applying all LayerChanges; it is not a locally applied acknowledgement. Upload-only synchronization retains the server's preceding download cursor.
Properties
ExceededTransferLimit
Whether more download changes remain. Apply this delivery before requesting the next window using its ServerGen.
public bool ExceededTransferLimit { get; init; }
Property Value
LayerChanges
Delivered adds, updates, and tombstones, grouped by layer.
public IReadOnlyList<LayerChangeSet> LayerChanges { get; init; }
Property Value
LayerServerGens
Per-layer generations reached by this download delivery.
public IReadOnlyList<ReplicaLayerServerGeneration> LayerServerGens { get; init; }
Property Value
ReplicaId
The replica identifier.
public string ReplicaId { get; init; }
Property Value
ServerGen
The generation delivered through by a download. Persist it locally only after applying all LayerChanges; it is not a locally applied acknowledgement. Upload-only synchronization retains the server's preceding download cursor.
public long ServerGen { get; init; }