Class KickRequestPollQuery
One poll of the kick requests: where it reads from, and what the reader has already handled.
public sealed class KickRequestPollQuery
- Inheritance
-
KickRequestPollQuery
- Inherited Members
Remarks
Built by BuildQuery(int, double). Every instant in it is on the DATABASE clock, the one the rows are stamped with; see KickRequestReadWindow.
Properties
FirstReadLookbackSeconds
For a first read only (FromUtc null): how many seconds ago, by the reader's own monotonic clock, it began watching. The read starts that long before the database's "now", so a kick issued between the reader starting and its first successful read is not skipped. A duration taken from the reader's clock and subtracted from the database's "now" is an instant on the database's clock; no two host clocks are ever compared.
public double FirstReadLookbackSeconds { get; set; }
Property Value
FromUtc
The oldest stamp to read, on the database clock, or null for the reader's first read.
public DateTime? FromUtc { get; set; }
Property Value
HandledIds
IDs of the requests the reader has already handled that this read could return again, paired by index with HandledStamps.
public long[] HandledIds { get; set; }
Property Value
- long[]
HandledStamps
The stamp each of HandledIds was handled at. A request row is upserted per account, so a second kick of the same account keeps its ID and moves its stamp: the pair is what identifies one kick, and a re-stamped row is read again.
public DateTime[] HandledStamps { get; set; }
Property Value
- DateTime[]
PageSize
Most requests to return.
public int PageSize { get; set; }