Table of Contents

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

ReplicaId string

The replica identifier.

ServerGen long

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.

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

bool

LayerChanges

Delivered adds, updates, and tombstones, grouped by layer.

public IReadOnlyList<LayerChangeSet> LayerChanges { get; init; }

Property Value

IReadOnlyList<LayerChangeSet>

LayerServerGens

Per-layer generations reached by this download delivery.

public IReadOnlyList<ReplicaLayerServerGeneration> LayerServerGens { get; init; }

Property Value

IReadOnlyList<ReplicaLayerServerGeneration>

ReplicaId

The replica identifier.

public string ReplicaId { get; init; }

Property Value

string

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; }

Property Value

long