[jboss-jira] [JBoss JIRA] (AS7-5448) expose thread pool queue size through jmx
Mathieu Lachance (JIRA)
jira-events at lists.jboss.org
Wed Aug 29 13:57:32 EDT 2012
[ https://issues.jboss.org/browse/AS7-5448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714665#comment-12714665 ]
Mathieu Lachance commented on AS7-5448:
---------------------------------------
in java.util.concurrent.ThreadPoolExecutor there's a getter on the workQueue which return a java.util.concurrent.BlockingQueue.
According to javadoc :
/**
* Returns the task queue used by this executor. Access to the
* task queue is intended primarily for debugging and monitoring.
* This queue may be in active use. Retrieving the task queue
* does not prevent queued tasks from executing.
*
* @return the task queue
*/
I'd like the BlockingQueue::size() be exposed through jmx. that way, it will be possible to know if there's queued element waiting to be run.
> expose thread pool queue size through jmx
> -----------------------------------------
>
> Key: AS7-5448
> URL: https://issues.jboss.org/browse/AS7-5448
> Project: Application Server 7
> Issue Type: Feature Request
> Components: JMX
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Mathieu Lachance
> Assignee: Stuart Douglas
>
> issue https://issues.jboss.org/browse/AS7-793 is not completed.
> thread pool exposed in jmx is still missing the queue size which is an essential metric to evaluate the system load.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list