Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6823

Use Timer instead of scheduler for delayed execution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Event 4.2.4
    • Event
    • None

    Description

      Currently, the scheduler is used in some places to delay some execution. As this execution is intended to be run at the delayed time, it is not optimal to rely on the scheduler, especially as the scheduler is resource constraint (by its pool).
      We could simply use java's Timer for this. Affected classes are:
      JobManagerConfiguration (2 occurences)
      JobQueueImpl (1 occurence)
      We can then also remove the scheduler from QueueServices

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: