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

Brian Stansberry (JIRA) issues at jboss.org
Mon Aug 31 12:38:05 EDT 2015


     [ https://issues.jboss.org/browse/WFCORE-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-170:
------------------------------------
    Fix Version/s: 3.0.0.Alpha1
                       (was: 2.0.0.Alpha9)


> 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: 3.0.0.Alpha1
>
>
> 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.15#6346)


More information about the jboss-jira mailing list