Class MaintenanceTargetData
One server inside a maintenance operation, and what has been observed of it.
public sealed class MaintenanceTargetData
- Inheritance
-
MaintenanceTargetData
- Inherited Members
Properties
ID
Surrogate key of the target row, not of the server.
public long ID { get; set; }
Property Value
Kind
world or scene.
public string Kind { get; set; }
Property Value
LockWrittenUtc
When the lock was written.
public DateTime? LockWrittenUtc { get; set; }
Property Value
Remarks
Always the same instant as ShutdownWrittenUtc: scheduling a shutdown
sets locked in the same statement. Recorded separately anyway, because the
lock outlives the shutdown — cancelling clears one and not the other.
Note
What was concluded and why, in words.
public string Note { get; set; }
Property Value
Remarks
Carries the reasoning, not just the failure: "cleared its own deadline as it exited" is the difference between a scene server that finished and one somebody cancelled, and the two look identical in the columns alone.
ObservedCharacterCount
Players still on it at that moment.
public int ObservedCharacterCount { get; set; }
Property Value
ObservedLastPulseUtc
When it last pulsed, or null once its registration is gone.
public DateTime? ObservedLastPulseUtc { get; set; }
Property Value
ObservedLocked
Whether its row still said locked.
public bool ObservedLocked { get; set; }
Property Value
ObservedPulseAgeSeconds
Seconds since ObservedLastPulseUtc, measured by the database clock when this was read; never negative, and null exactly when that is.
public double? ObservedPulseAgeSeconds { get; set; }
Property Value
Remarks
The pulse is stamped by the database, so its age is taken on the database's clock too.
The panel used to subtract its own DateTime.UtcNow, and a panel host a minute fast
flagged every healthy target as not pulsing. Compare it with
MaintenanceService.StaleAfterSeconds through MaintenanceService.IsSilent.
ObservedRegistered
Whether its registration row still exists at all.
public bool ObservedRegistered { get; set; }
Property Value
ObservedShutdownUtc
The deadline its row carried, which may not be the one this operation wrote.
public DateTime? ObservedShutdownUtc { get; set; }
Property Value
ObservedUtc
When this target was last looked at.
public DateTime? ObservedUtc { get; set; }
Property Value
OperationID
The operation this belongs to.
public long OperationID { get; set; }
Property Value
PulsingAtStart
Whether this server was pulsing when the operation was planned.
public bool PulsingAtStart { get; set; }
Property Value
Remarks
The difference between "it stopped" and "it was never listening". A row written for a process that is not running is read by nobody, ever, so a target that was already silent cannot be reported as having shut down cleanly.
ScheduledShutdownUtc
The deadline written on this server's row.
public DateTime? ScheduledShutdownUtc { get; set; }
Property Value
ServerID
The server's primary key, within its tier.
public long ServerID { get; set; }
Property Value
ServerName
The server's name as it read when the operation was planned.
public string ServerName { get; set; }
Property Value
Remarks
Copied rather than joined. A world server deletes its registration as it stops, which is the completion signal — so by the time the operation reads well there is nothing left to join to, and a window that finished successfully would list a blank name.
ShutdownClearedUtc
When the deadline was cleared again, by a cancellation.
public DateTime? ShutdownClearedUtc { get; set; }
Property Value
ShutdownWrittenUtc
When the shutdown deadline was written to the server's row.
public DateTime? ShutdownWrittenUtc { get; set; }
Property Value
Status
Where this target has got to.
public MaintenanceStatus Status { get; set; }