[jboss-jira] [JBoss JIRA] Commented: (JGRP-728) TP: add ID to individual threads in thread pool

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Thu Apr 3 05:46:29 EDT 2008


    [ http://jira.jboss.com/jira/browse/JGRP-728?page=comments#action_12406814 ] 
            
Galder Zamarreno commented on JGRP-728:
---------------------------------------

It's worth noting that there's no need for JGroups to manage these IDs. The default thread pool 
factory already deals with this and assigns a different name to each of the threads in the pool. 
JGroups should just need to add information on the type of thread pool, i.e. Incoming, OOB...etc
plus the original thread name, i.e. pool-1, pool-2.

The end result ideally would look something like:
Incoming-pool-1
Incoming-pool-2
...
OOB-pool-1
OOB-pool-2
...

Also, by default, I don't see the need to have the local address printed in the thread name.

> TP: add ID to individual threads in thread pool
> -----------------------------------------------
>
>                 Key: JGRP-728
>                 URL: http://jira.jboss.com/jira/browse/JGRP-728
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>         Assigned To: Bela Ban
>             Fix For: 2.7, 2.6.3
>
>
> To differentiate between threads from the same pool, we need to add an ID to each thread, e.g. IncomingThread-1. The IDs used should range from 1 to the max threads the pool can hold. We should not use monotonically increasing IDs for legibility. 

-- 
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