[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2010-09-06
4
Medium Priority
?
1,730 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 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

656 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