Queue service interval events examples
This section provides progressively more complex examples to illustrate
the use of queue service interval events.
The figures accompanying the examples have the same structure:
- The top section is a graph of queue depth against time, showing individual
MQGET calls and MQPUT calls.
- The middle section shows a comparison of the time constraints. There are
three time periods that you must consider:
- The user-defined service interval.
- The time measured by the service timer.
- The time since event statistics were last reset (TimeSinceReset in the
event data).
- The bottom section of each figure shows which events are enabled at any
instant and what events are generated.
The following examples illustrate:
- How the queue depth varies over time.
- How the elapsed time as measured by the service timer compares with the
service interval.
- Which event is enabled.
- Which events are generated.