[jboss-jira] [JBoss JIRA] (WFCORE-170) Create a shared ScheduledExecutorService

Brian Stansberry (JIRA) issues at jboss.org
Wed Oct 15 09:26:35 EDT 2014


Brian Stansberry created WFCORE-170:
---------------------------------------

             Summary: Create a shared ScheduledExecutorService
                 Key: WFCORE-170
                 URL: https://issues.jboss.org/browse/WFCORE-170
             Project: WildFly Core
          Issue Type: Feature Request
          Components: Server
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 1.0.0.Beta1


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.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list