Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3661250
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:17:06+00:00 2026-05-19T01:17:06+00:00

If I have a job and from that job I create some threads, what

  • 0

If I have a job and from that job I create some threads, what happens when I call scheduler.shutdown(true)?

Will the scheduler wait for all of my threads to finish or not?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T01:17:07+00:00Added an answer on May 19, 2026 at 1:17 am

    Quartz 1.8.1 API docs:

    Halts the Scheduler’s firing of Triggers, and cleans up all resources associated with the Scheduler.

    Parameters:
    waitForJobsToComplete – if true the scheduler will not allow this method to return until all currently executing jobs have completed.

    Quarts neither know nor cares about any threads spawned by your job, it will simply wait for the job to complete. If your job spawns new threads then exits, then as far as Quartz is concerned, it’s finished.

    If your job needs to wait for its spawned threads to complete, then you need to use something like an ExecutorService (see javadoc for java.util.concurrent), which will allow the job thread to wait for its spawned threads to complete. If you’re using raw java threads, then use Thread.join().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C#/.Net job that imports data from Excel and then processes it.
I have been trying to call a mapreduce job from a simple java program
I'm a c# developer but have a job that involves some jsp code. I've
I have to create a python (twisted) application that accepts connections from clients via
I have just moved job and gone from VB 6 to VB.Net and found
I have a ASP.NET application I've inherited from the person who did my job
I have data from a ResultSet that contains three fields: DataType, Data, DataValue. I
For a project I have a series of pseudo-repositories that create XML (they aren't
I have some method that is invoked on Application_Start. And it starts on first
I have a procedure that goes like this: create or replace PROCEDURE NEWJOBIDPROC (JOB_ID

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.