Solved

Quartz Scheduler - What is the difference between standby() and pauseAll()?

Posted on 2010-09-06
4
1,660 Views
Last Modified: 2012-06-27
I'm using Quartz Scheduler v.1.8.0.

What's the difference between scheduler.standby() and scheduler.pauseAll()?
   standby() - Temporarily halts the Scheduler's firing of Triggers.

    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.
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?

Hope community experts can help me in understanding any subtle difference.
0
Comment
Question by:Zoniac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 26

Accepted Solution

by:
ksivananth earned 100 total points
ID: 33610234
the difference is in applying or not applying misfire instruction.
standBy - misfire instruction is not applied
pause - is applied

for more info on misfire, http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson04.html - check for "Misfire Instructions"
0
 
LVL 1

Author Comment

by:Zoniac
ID: 33610438
Hi ksivananth,

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.
0
 
LVL 26

Expert Comment

by:ksivananth
ID: 33611116
0
 
LVL 1

Author Closing Comment

by:Zoniac
ID: 33611135
Solution arrived.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question