Table of Contents

Class OfflineSyncEngineOptions

Namespace
Honua.Sdk.Offline
Assembly
Honua.Sdk.Offline.dll

Options for the provider-neutral offline sync engine.

public sealed record OfflineSyncEngineOptions : IEquatable<OfflineSyncEngineOptions>
Inheritance
OfflineSyncEngineOptions
Implements
Inherited Members

Properties

BatchSize

Maximum number of local edit operations to upload in one push run.

public int BatchSize { get; init; }

Property Value

int

ConflictStrategy

Conflict strategy used when providers reject an edit due to stale local state.

public OfflineConflictStrategy ConflictStrategy { get; init; }

Property Value

OfflineConflictStrategy

MaxAttempts

Maximum number of attempts before a local operation is marked failed.

public int MaxAttempts { get; init; }

Property Value

int

RequireIdempotentEdits

Requires stable package and operation identities and a key from the first dispatch of each pending edit.

public bool RequireIdempotentEdits { get; init; }

Property Value

bool

RetryDelay

Default delay recorded for retryable upload failures.

public TimeSpan RetryDelay { get; init; }

Property Value

TimeSpan

Methods

Validate()

Validates option values.

public void Validate()

Exceptions

ArgumentOutOfRangeException

Thrown when an option value is outside its supported range.