PoolMemberActiveLeaseDto
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
The lease a pool member is still running when it registers again after a reconnect
(AB#5826). Sent on IAdapterPoolHub.ResumePoolMemberAsync.
public record PoolMemberActiveLeaseDto : IEquatable<PoolMemberActiveLeaseDto>
Inheritance Object → PoolMemberActiveLeaseDto
Implements IEquatable<PoolMemberActiveLeaseDto>
Remarks:
🔴 Identifiers only — no secret travels back. The borrower's client secret, database password, invoker token, pipeline configuration and input stay on the member, exactly as LeaseResultDto rules for the release. The controller does not need them: it only has to know that the member is busy, with what, until when.
The controller does not take these values on trust. It adopts the lease only after the persisted execution in PoolMemberActiveLeaseDto.TenantId proves that the work was leased from this member's pool to this member id and is still running.
Properties
LeaseId
The lease id, as handed out in LeaseDto.LeaseId.
public string LeaseId { get; set; }
Property Value
TenantId
The borrowing tenant (LeaseDto.TenantId).
public string TenantId { get; set; }
Property Value
ExecutionId
The borrower's execution the lease serves (LeaseDto.ExecutionId); empty for a hand-driven lease.
public string ExecutionId { get; set; }
Property Value
AdapterRtId
RtId of the borrower's leased adapter (LeaseDto.AdapterRtId).
public string AdapterRtId { get; set; }
Property Value
AdapterCkTypeId
CkTypeId of the borrower's leased adapter (LeaseDto.AdapterCkTypeId).
public string AdapterCkTypeId { get; set; }
Property Value
GrantedAtUtc
When the lease was granted (UTC), as handed out in LeaseDto.GrantedAtUtc.
public DateTime GrantedAtUtc { get; set; }
Property Value
ExpiresAtUtc
When the lease expires (UTC), as handed out in LeaseDto.ExpiresAtUtc. An adopted lease keeps it, so the TTL a controller restart interrupted is the TTL that applies.
public DateTime ExpiresAtUtc { get; set; }
Property Value
Constructors
PoolMemberActiveLeaseDto()
public PoolMemberActiveLeaseDto()