Skip to main content

HS.Util.FileStream.Cleanup

class HS.Util.FileStream.Cleanup extends %SYS.Task.Definition

Property Inventory

Method Inventory

Parameters

parameter DailyFrequency = Several;
parameter DailyFrequencyTime = Minutes;
parameter DailyIncrement = 5;
parameter TaskName = File Stream Cleanup;
Inherited description: This defines the user-visible name of this task. It is defined in the subclasses.

Properties

property PurgeMinutes as %Integer [ InitialExpression = 10 ];
Remove stream files which are older than the PurgeMinutes
Property methods: PurgeMinutesDisplayToLogical(), PurgeMinutesGet(), PurgeMinutesIsValid(), PurgeMinutesLogicalToDisplay(), PurgeMinutesNormalize(), PurgeMinutesSet()
property ReportToEventLog as %Boolean [ InitialExpression = 1 ];
Property methods: ReportToEventLogDisplayToLogical(), ReportToEventLogGet(), ReportToEventLogIsValid(), ReportToEventLogLogicalToDisplay(), ReportToEventLogNormalize(), ReportToEventLogSet()

Methods

method Cleanup()
Process cleanup for namespace
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.
classmethod Schedule(pNS) as %Status
Standardized Schedule method for tasks using Parameter TaskName

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab