HS.BulkFHIR.Util.SchedulerTask
class HS.BulkFHIR.Util.SchedulerTask extends %SYS.Task.Definition
Task class to handle scheduling of bulk fhir sessions, includes OnTask code as well as schedule, schedule removal, and returning a list of schedule itemsProperty Inventory
Method Inventory
- NewQueryString()
- OnTask()
- PauseSchedule()
- RemoveSchedule()
- ResumeSchedule()
- Schedule()
- ScheduledItems()
Properties
property SessionId as %Integer;
Property methods: SessionIdDisplayToLogical(), SessionIdGet(), SessionIdIsValid(), SessionIdLogicalToDisplay(), SessionIdNormalize(), SessionIdSet()
Methods
classmethod NewQueryString(pQueryString) as %String
method OnTask() as %Status
Code which executes the BFC session by loading it, executing the Resume, and polling the status, and resubmitting a cloned item for the next iteration
classmethod PauseSchedule(pSessionId As %Integer)
Pause Task item for specified session id
classmethod RemoveSchedule(pSessionId As %Integer)
Code to remove a session from the task schedule
classmethod ResumeSchedule(pSessionId As %Integer)
Resume Task item for specified session id
classmethod Schedule(pSessionId As %Integer)
Code to schedule a session id to run at a particular time
classmethod ScheduledItems() as %DynamicArray
Return a dynamic array of all task items with their schedule info and the session
Inherited Members
Inherited Properties
Inherited 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()
- OnSubmit()
- SetSettings()