Multiple choice technology databases

How the monitor program should be written

  1. A monitor program which dispatch the events to the callback of the one of the member

  2. Monitor object with it's own callback function

  3. A monitor program which dispatch the events to the callback of the member of

  4. None

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A monitor program should be written as a Monitor object with its own callback function. This allows the monitor to independently track queue status and take action when thresholds are exceeded. The other options describe dispatching mechanisms, not the monitor structure itself.