Zoniac
asked on
Quartz Scheduler - What is the difference between standby() and pauseAll()?
I'm using Quartz Scheduler v.1.8.0.
What's the difference between scheduler.standby() and scheduler.pauseAll()?
Hope community experts can help me in understanding any subtle difference.
What's the difference between scheduler.standby() and scheduler.pauseAll()?
standby() - Temporarily halts the Scheduler's firing of Triggers.Based on what I've understood from the API documentation, I'm not able to easily/clearly differentiate/distinguish from each one of them. I'm seeing both of them serving the same purpose - temporarily pause/halt all the triggers in the scheduler, and subsequently followed by a start() (for standby) or resumeAll() (for pauseAll) to clear the scheduler's state. Is there any other difference?
pauseAll() - Pause all triggers - similar to calling pauseTriggerGroup(group) on every group, however, after using this method resumeAll() must be called to clear the scheduler's state of 'remembering' that all new triggers will be paused as they are added.
Hope community experts can help me in understanding any subtle difference.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the API doc itself says this, http://www.quartz-scheduler.org/docs/api/1.8.1/org/quartz/Scheduler.html#standby()
ASKER
Solution arrived.
ASKER
Thanks. But, I'm surprised that this important difference is not mentioned explicitly either in API documentation or in tutorials, which is worth it.
How could you able to make out/ find this difference? Is there any documentation link on this or it's your experience?
Again, thanks for your comments.