7. Backlog Size Functions

In a real-time workflow, asynchronous agents use a queue to forward input UDRs to the workflow. This way, a workflow can be configured to include multiple queues, one for every asynchronous agent's output route. Each queue contains a UDR backlog.

Note!

The backlog can only handle UDRs.

queueGetSize

The queueGetSize function retrieves the number of UDRs of the queue that currently contains the highest number of UDRs in the workflow.

int queueGetSize()
ParameterDescription

Returns

the largest queue size.

queueGetLimit

The queueGetLimit functionĀ gets the configured maximum queue size limit.

int queueGetLimit() 
ParameterDescription

Returns

The soft limit, the configured maximum queue size limit of the workflow queue.

You configure the soft limit of the workflow queues in the Workflow Properties. For further information, see 3.1.8 Workflow Propertiesthe Desktop user's guide.

Note!

A real-time agent implementation can modify the soft limit during the agent initialize() phase. For further information see 1.4.1 initialize.