ecl-logo Documentation

QueueTime

QueueTime[protocol]time

estimates the time for which the protocol will remain in the queue before it is executed on the ECL based on recent historical queue data.

Details

  • The estimate is calculated from the recent historical queue data statistics stored in the latest Object[Report,QueueTimes] object.
  • If no Object[Report,QueueTimes] can be found for the last month, it will use hard-coded default estimates.
  • Input
    Output

Examples

Basic Examples  (4)

Estimate the time for which a protocol will remain in the queue:

Estimate the times for which multiple protocols will remain in the queue:

The minimum queue time is returned if the already elapsed wait time is greater than the estimated queue time for the input protocol type:

The average queue time across all protocol types is returned if the input protocol type has not been recently run:

Additional Examples  (1)

To estimate the time until a backlogged protocol is started, the backlog time and queue time can be summed:

Messages  (2)

NonEnqueuedProtocols  (1)

Requesting a queue time estimate for a protocol which is not in the backlog or the queue will fail:

NoQueueTimesReportFound  (1)

If No Object[Report,QueueTimes] can be found for the last month, default times will be used: