HS.IHE.Common.Services.SOAPServer.PurgeRequestLogTask
class HS.IHE.Common.Services.SOAPServer.PurgeRequestLogTask extends %SYS.Task.Definition
This task cleans up extra HS.IHE.Common.Services.SOAPServer.RequestLog entries based on the following criteria:For each config subclass of HS.IHE.Common.Services.SOAPServer.Base:
- If there is no rate limit for either username or IP, delete all records
and continue to the next class. The existing records are extraneous because
we hit the rate limit. - Otherwise, delete all records that are older than the larger of the username
rate limit interval and the IP address rate limit interval. This ensures that
every record that could be used in a rate limit calculation persists, and every
obsolete record is deleted. - %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()
- OnSubmit()
- SetSettings()
Method Inventory
Parameters
parameter TaskName = HS.IHE SOAP Purge obsolete rate limiting entries;
Inherited description: This defines the user-visible name of this task.
It is defined in the subclasses.
Methods
method OnTask() as %Status
Entry method for the task call