Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-22428

Rename JobExecutionContext.isInterrupted to isCancelled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0-beta1
    • 3.0
    • compute
    • Docs Required, Release Notes Required

    Description

      Currently, JobExecutionContext.isInterrupted is set to true when the job is cancelled. This flag exists so that any job-related thread can perform cooperative cancellation (as opposed to relying on thread interrupted status).

      Therefore, isCancelled is a better name. Improve javadoc accordingly.

      Attachments

        Issue Links

          Activity

            People

              Mikhail Pochatkin Mikhail Pochatkin
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: