[jboss-jira] [JBoss JIRA] Created: (JBCOMMON-16) Add support for Thread Priority to the BasicThreadPool
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Fri Feb 16 10:03:29 EST 2007
Add support for Thread Priority to the BasicThreadPool
------------------------------------------------------
Key: JBCOMMON-16
URL: http://jira.jboss.com/jira/browse/JBCOMMON-16
Project: JBoss Common
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: core
Reporter: Adrian Brock
The ThreadPool should have configuration for the default thread priority.
i.e. introduce a "priority" attribute into BasicThreadPool[MBean]
and update the internal ThreadPoolFactory code to use it.
There is also a Task.getPriority() that is currently unused.
This should allow dynamic changing of the thread priority
based upon individual task requests.
Additional constraints may also be useful,
e.g. having a min/max priority on the BasicThreadPool
that constrains what tasks can ask for,
and possibly a seperate option to always ignore what the tasks request.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list