Class IdempotencyRecordPrunePreview

Assembly: redb.Identity.Contracts.dll

The answer of the idempotency record cleanup asked as a dry run: how many expired records a run would remove now,
with nothing removed.

public sealed class IdempotencyRecordPrunePreview

Inheritance

Object→IdempotencyRecordPrunePreview

Properties

DryRun

Always true: marks the answer as a preview.

[JsonPropertyName("dryRun")]
public bool DryRun { get; init; }

Threshold

Records whose time to live ended before this moment are expired.

[JsonPropertyName("threshold")]
public DateTimeOffset Threshold { get; init; }

WouldPruneIdempotencyRecords

Expired idempotency records a run would remove.

[JsonPropertyName("wouldPruneIdempotencyRecords")]
public int WouldPruneIdempotencyRecords { get; init; }