Ens.Queue
class Ens.Queue
Method Inventory
- AbortItem()
- AbortQueue()
- ClearEventDevice()
- Create()
- DeQueue()
- Delete()
- DeleteAllQueuesForJob()
- EnQueue()
- EnumerateClose()
- EnumerateExecute()
- EnumerateFetch()
- EnumerateItemClose()
- EnumerateItemExecute()
- EnumerateItemFetch()
- EventName()
- Exists()
- ExistsInQueue()
- GetCount()
- GetJobList()
- PutBackToQueue()
- SetEventDevice()
- SignalAllJobs()
- deleteEvent()
Methods
classmethod AbortItem(pQueueName As %String = "", pPriority As %Integer = 0, pIndex As %Integer = 0) as %Status
classmethod ClearEventDevice(pQueueName, pOldDevice) as %Status
classmethod DeQueue(pQueueName As %String = $job, ByRef pMsg As Ens.MessageHeader, pTimeout As %Numeric = -1, Output pIsTimedOut As %Boolean, pHonorQuiescent As %Boolean = 0, pMinPriority As %Integer = $$$eMessagePriorityAsync) as %Status
classmethod DeleteAllQueuesForJob(pJob As %String = $Job, pRemoveJobsInProcQueues As %Boolean = 0) as %Status
pRemoveJobsInProcQueues allows deleting non empty queues invoked by this service InProc as well
- they will have this job as second : piece of the queue name.
classmethod EnQueue(pMsg As Ens.MessageHeader, pReverseOrder As %Boolean = 0) as %Status
classmethod EnumerateFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod EnumerateItemExecute(ByRef qHandle As %Binary, pQueueName As %String, pPriorKey As %String = "") as %Status
classmethod EnumerateItemFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod ExistsInQueue(pMsg As Ens.MessageHeader = "") as %Boolean
Return the count of messages in the named queue. Return empty string if queue does not exist.
classmethod GetJobList(pJobList)
classmethod PutBackToQueue(pMsg As Ens.MessageHeader) as %Status
classmethod SetEventDevice(pQueueName, pDevice="") as %Status
This method signals all queues - once per each job registered with that queue.
If pJob is specified then only those queues to which pJob
is registered will be signalled - once per each job registered with that queue.
Queues in pSignalledQueues will be skipped. Any queue that is signalled will be recorded as part of the output pSignalledQueues
Queues in pSignalledQueues will be skipped. Any queue that is signalled will be recorded as part of the output pSignalledQueues
Queries
query Enumerate()
List the known queues and their current counters