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

Thread pools should be available as services

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Commons Threads 3.2.22
    • None
    • Commons
    • None

    Description

      It should be possible to reference a thread pool directly instead of always going via the ThreadPoolManager

      @Reference(name="my-thread-pool")
      ThreadPool myThreadPool;
      

      In the same approach it's probably advisable to replace the current implementation (which relies on a ManagedServiceFactory) with DS.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joerghoh Joerg Hoh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: