Implement a blocking shutdown of the Scheduler with a timeout

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Fix
    • None
    • Component/s: Scheduled Tasks
    • None

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      The Quartz Scheduler interface has a shutdown(Boolean waitForJobsToComplete) method on it, but there is no way to exit the method if there are long running tasks. We need to implement a version with a timeout. Note that this would still leave the scheduler shutdown, but at least would allow us to restart it if required.

      The method should call Scheduler.shutdown() and then check the result of Scheduler.getCurrentlyExecutingJobs() until it becomes empty.

            Assignee:
            Unassigned
            Reporter:
            Jed Wesley-Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: