[jboss-jira] [JBoss JIRA] Commented: (AS7-608) BoundedQueueThreadPoolService provides Executor instead of ExecutorService
Tommy Tynjä (JIRA)
jira-events at lists.jboss.org
Fri Aug 5 08:35:39 EDT 2011
[ https://issues.jboss.org/browse/AS7-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619101#comment-12619101 ]
Tommy Tynjä commented on AS7-608:
---------------------------------
I looked into this issue just out of plain curiosity and decided to have a go with the BoundedQueueThreadPoolService. Have a look at https://github.com/tommysdk/jboss-as/commits/AS7-608 and give me feedback on whether it reflects what was intended and also if the changes are sufficent for this issue.
> BoundedQueueThreadPoolService provides Executor instead of ExecutorService
> --------------------------------------------------------------------------
>
> Key: AS7-608
> URL: https://issues.jboss.org/browse/AS7-608
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Domain Management
> Affects Versions: 7.0.0.Beta2
> Reporter: Paul Ferraro
> Fix For: Open To Community
>
>
> Currently, there is no thread service that provides a j.u.c.ExecutorService using a bounded queue thread pool.
> The existing BoundedQueueThreadPoolService only provides a j.u.c.Executor, instead of the far more useful j.u.c.ExecutorService. The exposed j.u.c.Executor cannot even be cast to an j.u.c.ExecutorService, since the underlying QueueExecutor is wrapped by a decorator that does not implement j.u.c.ExecutorService.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list