Home > Class Reference > %SYS namespace > SYS.Process

SYS.Process

persistent class SYS.Process extends %SYS.ProcessQuery

SQL Table Name: SYS.Process

This class provides several instance methods which operate on a process instance.
Properties/Storage/Queries are inherited from the %SYS.ProcessQuery class. The methods declared here are protected methods which can only be executed on a process if they have write access to the %DB_IRISSYS resource (i.e. can write to the IRISSYS database.) The process executing this query must be in the %SYS namespace.

Method Inventory

Methods

classmethod ProcessTableSize() as %Integer [ Language = objectscript ]
Current size of the process table (number of process slots).
method ReleaseAllLocks() as %Status [ Language = objectscript ]
Release ALL locks.
Release all locks for the process.
method Resume() as %Status [ Language = objectscript ]
Resume a process.
Resumes a process after it had previously been suspended.
method Suspend() as %Status [ Language = objectscript ]
Suspend a process.
Put a process into a wait state so it stops executing code.
method Terminate(SendError As %Integer = 0) as %Status [ Language = objectscript ]
Terminate a process.
Kills a process by sending it a halt message.
If SendError is 1 the killed job will issue a <RESJOB> error and invoke the ^%ETN utility.

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: SQLStorage

Maps: 1