Solved

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

Posted on 2010-09-06
4
1,646 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is there a simpler dropbox system? 10 51
Java basic valueOf question 1 49
jmeter usage 4 59
Java import explained 4 46
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

739 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