Class LockResult

Assembly: redb.Tsak.Core.Pro.dll

Result of a distributed lock acquisition attempt.

public sealed record LockResult : IEquatable<LockResult>

Inheritance

Object→LockResult

Implements

Properties

Acquired

public bool Acquired { get; init; }

CurrentOwner

public string? CurrentOwner { get; init; }

Epoch

public long Epoch { get; init; }

Constructors

LockResult(bool, long, string?)

Result of a distributed lock acquisition attempt.