]
Brian Stansberry updated WFCORE-170:
------------------------------------
Fix Version/s: 2.0.0.Alpha1
(was: 1.0.0.CR1)
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.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.