Details

    • Type: New Feature
    • Status: Closed
    • Priority: 2 Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 1.8.5
    • Fix Version/s: 2.1
    • Component/s: Core
    • Labels:
      None
    • Terracotta Target:
      Quartz 2.1.0
    • LOE:
      .5
    • Fixed In Revision:
      1561, 1562, 1563
    • Documentation Required:
      Yes

      Description

      Currently the Scheduler interface has this method for interrupting an executing job:

      boolean interrupt(JobKey jobKey)
      

      This interrupts any currently executing instances of the identified job, if it implements the InterruptableJob interface.

      Users have requested a means for interrupting a particular executing instance of a job.

      This can be accomplished by adding a method such as this onto the JobExecutionContext :

      String getFireInstanceId()
      

      And this to the Scheduler interface:

      boolean interrupt(String fireInstanceId)
      

      The fire instance id will come from the OperableTrigger interface (for the trigger instance that the JobExecutionContext already has a handle to).

      Make sure to update existing interrupt() method's JavaDoc to appropriately account for the existence of the new method.

        Attachments

          Activity

            People

            • Assignee:
              jhouse James House
              Reporter:
              jhouse James House
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: