You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Victor N (JIRA)" <ji...@apache.org> on 2010/12/08 12:38:02 UTC
[jira] Commented: (DIRMINA-29) JMX integration
[ https://issues.apache.org/jira/browse/DIRMINA-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969282#action_12969282 ]
Victor N commented on DIRMINA-29:
---------------------------------
I would propose to add information about Queue isage in thread pool to JMX monitoring.
In fact, I usually patch ExecutorFilter class and add the following method:
public int getWorkQueueSize() {
try {
if (executor instanceof ThreadPoolExecutor) {
return ((ThreadPoolExecutor)executor).getQueue().size();
}
} catch (Exception ex) {
// not a problem here
}
return -1;
}
> JMX integration
> ---------------
>
> Key: DIRMINA-29
> URL: https://issues.apache.org/jira/browse/DIRMINA-29
> Project: MINA
> Issue Type: New Feature
> Affects Versions: 0.7.0, 0.8.0, 0.9.0, 1.0.0
> Reporter: Trustin Lee
> Assignee: Julien Vermillard
> Fix For: 1.0.0
>
> Attachments: ByteBuffer.java, ByteBuffer.java, ByteBuffer.java, ByteBufferManager.java, ByteBufferManagerMBean.java, jconsole.png, minaJMX.tar.gz, SessionManager.java, SessionManager.java, SessionManagerMBean.java, SessionManagerMBean.java, SessionManagerMBean.tar.gz
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.