Skip to main content

%SYS.Task.AutoStatsCollection

class %SYS.Task.AutoStatsCollection extends %SYS.Task.Definition

Perform automatic table statistic collection within all the namespaces.

Property Inventory

Method Inventory

Parameters

parameter TaskName = AutoStatsCollection;
Inherited description: This defines the user-visible name of this task. It is defined in the subclasses.

Properties

property MaxDuration as %Integer [ InitialExpression = 3600 ];
Property methods: MaxDurationDisplayToLogical(), MaxDurationGet(), MaxDurationLogicalToDisplay(), MaxDurationNormalize(), MaxDurationSet()

Methods

classmethod MaxDurationIsValid(MaxDuration As %Integer) as %Status
method OnTask() as %Status
Inherited description: This method is responsible for executing the task.
At the scheduled time, the Task Manager creates an instance of this object, sets any property values using the stored "Settings" for the task, and then invokes this method to execute the task.
In order to execute a real task, override this method in a subclass.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab