Class DaemonCommandData
One instruction for a daemon.
public sealed class DaemonCommandData
- Inheritance
-
DaemonCommandData
- Inherited Members
Properties
AppName
Which supervised application, by name.
public string AppName { get; set; }
Property Value
ClaimedBy
Which daemon instance took it.
public string ClaimedBy { get; set; }
Property Value
ClaimedUtc
When a daemon took it, by the database clock.
public DateTime? ClaimedUtc { get; set; }
Property Value
CompletedUtc
When it finished, by the database clock.
public DateTime? CompletedUtc { get; set; }
Property Value
ExpiresInSeconds
Seconds left before ExpiresUtc, measured by the database clock in the statement that claimed this command. Null on a row that was not read by a claim.
public double? ExpiresInSeconds { get; set; }
Property Value
Remarks
What a daemon judges expiry by, together with its own monotonic clock (DaemonCommandExpiry). It must never compare ExpiresUtc with its own wall clock: the stamp is the database's, so that comparison measured the skew between the two machines along with the time left, and a daemon five minutes ahead of the database refused every command it was given.
ExpiresUtc
After which it must not be executed, by the database clock.
public DateTime ExpiresUtc { get; set; }
Property Value
HostName
Which host it is for.
public string HostName { get; set; }
Property Value
ID
Surrogate key.
public long ID { get; set; }
Property Value
Outcome
What happened, in words.
public string Outcome { get; set; }
Property Value
Reason
Why.
public string Reason { get; set; }
Property Value
RequestedBy
The operator account that asked.
public string RequestedBy { get; set; }
Property Value
RequestedUtc
When they asked, by the database clock.
public DateTime RequestedUtc { get; set; }
Property Value
Succeeded
Whether it worked.
public bool? Succeeded { get; set; }
Property Value
- bool?
Verb
Start, stop or restart.
public DaemonCommandVerb Verb { get; set; }