Skip to main content

HS.FHIRServer.Util.PurgeExpiredSearchResultsTask

class HS.FHIRServer.Util.PurgeExpiredSearchResultsTask extends %SYS.Task.Definition

Property Inventory

Method Inventory

Properties

property MinutesToKeep as %Integer [ InitialExpression = 60 ];
How many minutes after a paged search result is last interacted with should it be kept in the cache (Currently stored in ^IRIS.Temp.FHIRServerSearchResult)
Property methods: MinutesToKeepDisplayToLogical(), MinutesToKeepGet(), MinutesToKeepIsValid(), MinutesToKeepLogicalToDisplay(), MinutesToKeepNormalize(), MinutesToKeepSet()

Methods

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(pNamespace As %String = "HSSYS") as %Status
Schedule the task to run if it isn't defined. Will run in HSSYS. Default is to run hourly and purge cached search results that are older than an hour.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab