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

Jason Greene (JIRA) issues at jboss.org
Thu May 28 17:51:12 EDT 2015


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

Jason Greene updated WFCORE-170:
--------------------------------
    Fix Version/s: 2.0.0.Alpha4
                       (was: 2.0.0.Alpha3)


> 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: 2.0.0.Alpha4
>
>
> 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