Table of Contents

Class DocumentLeaseCommitSummary<TKey>

Namespace
Tharga.MongoDB.Lockable
Assembly
Tharga.MongoDB.dll

Summary returned from CommitAsync(bool, CancellationToken).

public record DocumentLeaseCommitSummary<TKey> : IEquatable<DocumentLeaseCommitSummary<TKey>>

Type Parameters

TKey
Inheritance
DocumentLeaseCommitSummary<TKey>
Implements
Inherited Members

Properties

Deleted

Number of documents committed via Delete.

public required int Deleted { get; init; }

Property Value

int

Failures

Per-document commit failures collected during the sequential commit pass.

public required IReadOnlyList<DocumentLeaseFailure<TKey>> Failures { get; init; }

Property Value

IReadOnlyList<DocumentLeaseFailure<TKey>>

ReleasedUnchanged

Number of documents released without changes (explicitly marked or unmarked).

public required int ReleasedUnchanged { get; init; }

Property Value

int

Updated

Number of documents committed via Update.

public required int Updated { get; init; }

Property Value

int