Skip to main content

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:
  1. 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.
  2. 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.
  3. 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
    classmethod Schedule(pNS As %String) as %Status

    Inherited Members

    Inherited Properties

    Inherited Methods

FeedbackOpens in a new tab