Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%SYS] >  [Task] >  [CleanSourceJournal]
Private  Storage   

class %SYS.Task.CleanSourceJournal extends %SYS.Task.Definition

This task removes entries in the source journal global that are older than the configured value.
It is normally run nightly.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 1 2


Summary

Properties
%RunDate %RunTime KeepDays

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
CheckPermission GetCollectionType GetPropertyName GetSettings
GetTaskName KeepDaysIsValid OnSubmit OnTask
SetSettings


Parameters

• parameter TaskName = "CleanSourceJournal";
This defines the user-visible name of this task. It is defined in the subclasses.

Properties

• property KeepDays as %Integer [ InitialExpression = 60 ];
Default purge of 2 months

Methods

• classmethod KeepDaysIsValid(KeepDays As %Integer) as %Status
Validate KeepDays value
• method OnTask() as %Status
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.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.