Class MaintenanceReport
- Namespace
- IntentSharp.ChangeDetection
- Assembly
- IntentSharp.dll
What the environment change handlers did during one operation: the changes they handled, the model calls they reported and their token usage, the problems met and the rule sets they could not bring up to date. These calls are the library's maintenance, reported apart from the operation's own planning call.
public sealed class MaintenanceReport
- Inheritance
-
objectMaintenanceReport
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- MaintenanceReport()
Creates an empty report; the client creates these.
Properties
- Changes
The changes handled, in the order they were found.
- ModelCalls
The model calls the handlers reported with ReportMaintenance(AIResultBase): one per attempt of each reported result that was not served from the cache.
- Pending
How many rule sets the handlers reported with ReportPending(string, string?): sets whose recompile failed, was capped or was held, so the version that ran before keeps running. Rule files see the count of a change as
environment.pendingRecompile.
- Problems
What went wrong, one problem per entry: a handler that timed out or threw, a reported model call that failed, a rule set left behind with the reason its handler gave. Empty when every handler finished its work.
- Usage
The token usage of the reported results, added up.