Ens.Job
class Ens.Job extends %Library.RegisteredObject
Property Inventory
Method Inventory
- AbortOperation()
- CleanUpDeadJobs()
- EnumerateClose()
- EnumerateExecute()
- EnumerateFetch()
- Launch()
- MakeNotQuiescent()
- MakeQuiescent()
- MarkDeadJobs()
- RecoverActiveMessage()
- Register()
- SetStatus()
- ShouldAbort()
- ShouldBeQuiescent()
- ShouldSuspend()
- ShouldTerminate()
- Start()
- Stop()
- StopAll()
- SuspendOperation()
- UnRegister()
Parameters
parameter DOMAIN = Ensemble;
parameter FGLAUNCHWAIT = 30;
parameter FGTELNETWAIT = 30;
parameter JOBSTARTWAIT = 120;
Properties
property Name as %String;
Name of this job instance
Property methods: NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property TaskPass as %Integer;
The number of times OnTask() has run.
Property methods: TaskPassDisplayToLogical(), TaskPassGet(), TaskPassIsValid(), TaskPassLogicalToDisplay(), TaskPassNormalize(), TaskPassSet()
Methods
classmethod CleanUpDeadJobs()
classmethod EnumerateFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod Launch(pConfigName As %String = "", pForeground As %Boolean, pDisableErrorTraps As %Boolean, pInterimJob As %String = "", Output pChildJob As %String, Output pListeningTelnetPort As %String = "") as %Status
classmethod MakeNotQuiescent()
classmethod MarkDeadJobs()
classmethod RecoverActiveMessage(pId As %ObjectIdentity, pName As %String, pMarkAsCrashed As %Boolean = 1) as %Status
classmethod Register(pConfigName As %String, pIsTempJob As %Integer, pForeground As %Boolean, pJob As %String, pInterimJob As %String, pJobStatus As %String) as %Status
classmethod ShouldAbort() as %Boolean
classmethod ShouldBeQuiescent() as %Boolean
classmethod ShouldSuspend() as %Boolean
classmethod ShouldTerminate() as %Boolean
classmethod Start(pConfigName As %String, pDisableErrorTraps As %Boolean, pIsTempJob As %Boolean = 0, pForeground As %Boolean = 0, pInterimJob As %String = "", pEventName As %String = "") as %Status
Start a background Job in the specified namespace.
Stop one job
Stop all jobs
classmethod UnRegister(pConfigName As %String, pJob)
Queries
query Enumerate()
Inherited Members
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()