Backlog Size Functions(3.3)

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. See Workflow Properties(3.0) for more information.

Note!

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