Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-170

Create a shared ScheduledExecutorService

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • None
    • Server
    • None

    Description

      There are number of ScheduledExecutorService instances being created around wf-core. Create a single service and inject it.

      This will reduce resource usage by creating fewer threads, and will reduce the risk of code mistakes around shutting down the various executors,

      I see these used in:

      LdapCacheService
      RemoteDomainConnectionService
      DeploymentMountProvider
      DeploymentScannerService

      plus the operation response attachment stuff I'm doing will need one.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: