algorithm for, queue service interval events, service timer, events algorithm, OK" /> Queue service interval events algorithm

 

Queue service interval events algorithm

This section gives the formal rules associated with the timer and the queue service interval events.

 

Service timer

The service timer is reset to zero and restarted:

The resetting of the timer does not depend on whether an event has been generated.

At queue manager startup the service timer is set to startup time if the queue depth is greater than zero.

If the queue is empty following a get operation, the timer is put into an OFF state.

 

Queue Service Interval High events

The Queue Service Interval event must be enabled (set to

HIGH).

If the service time is greater than the service interval, an event is generated on, or before, the next MQPUT or get operation.

 

Queue Service Interval OK events

Queue Service Interval OK events are automatically enabled when a Queue Service Interval High event is generated.

If the service time (elapsed time) is less than or equal to the service interval, an event is generated on, or before, the next get operation.