You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Anders Wallgren (JIRA)" <ji...@apache.org> on 2007/01/22 01:02:29 UTC

[jira] Created: (HTTPCORE-27) Use java.util.concurrent.ThreadFactory or similar

Use java.util.concurrent.ThreadFactory or similar
-------------------------------------------------

                 Key: HTTPCORE-27
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-27
             Project: HttpComponents Core
          Issue Type: Improvement
          Components: HttpCore NIO
    Affects Versions: 4.0-alpha4
         Environment: Windows Vista
            Reporter: Anders Wallgren
             Fix For: 4.0-alpha4


I'd like to supply my own threads (mostly because I want to name them and do some logging around thread lifecycles).  It would be great to be able to supply a ThreadFactory to reactors that create worker threads.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Commented: (HTTPCORE-27) Use java.util.concurrent.ThreadFactory or similar

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCORE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466499 ] 

Oleg Kalnichevski commented on HTTPCORE-27:
-------------------------------------------

We would like to have no external dependencies for HttpCore NIO other than HttpCore proper and JRE 1.4, so java.util.concurrent is not an option. Having a ThreadFactory interface is reasonable, though. I'll take care of that.

Oleg

> Use java.util.concurrent.ThreadFactory or similar
> -------------------------------------------------
>
>                 Key: HTTPCORE-27
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-27
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha4
>         Environment: Windows Vista
>            Reporter: Anders Wallgren
>             Fix For: 4.0-alpha4
>
>
> I'd like to supply my own threads (mostly because I want to name them and do some logging around thread lifecycles).  It would be great to be able to supply a ThreadFactory to reactors that create worker threads.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Resolved: (HTTPCORE-27) Use java.util.concurrent.ThreadFactory or similar

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-27.
---------------------------------------

    Resolution: Fixed

Done. Please review

Oleg

> Use java.util.concurrent.ThreadFactory or similar
> -------------------------------------------------
>
>                 Key: HTTPCORE-27
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-27
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha4
>         Environment: Windows Vista
>            Reporter: Anders Wallgren
>         Assigned To: Oleg Kalnichevski
>             Fix For: 4.0-alpha4
>
>
> I'd like to supply my own threads (mostly because I want to name them and do some logging around thread lifecycles).  It would be great to be able to supply a ThreadFactory to reactors that create worker threads.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Commented: (HTTPCORE-27) Use java.util.concurrent.ThreadFactory or similar

Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCORE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474090 ] 

Anders Wallgren commented on HTTPCORE-27:
-----------------------------------------

Finally had a chance to grab the latest sources and try this -- works fine.  Thanks.

> Use java.util.concurrent.ThreadFactory or similar
> -------------------------------------------------
>
>                 Key: HTTPCORE-27
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-27
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha4
>         Environment: Windows Vista
>            Reporter: Anders Wallgren
>         Assigned To: Oleg Kalnichevski
>             Fix For: 4.0-alpha4
>
>
> I'd like to supply my own threads (mostly because I want to name them and do some logging around thread lifecycles).  It would be great to be able to supply a ThreadFactory to reactors that create worker threads.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Assigned: (HTTPCORE-27) Use java.util.concurrent.ThreadFactory or similar

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski reassigned HTTPCORE-27:
-----------------------------------------

    Assignee: Oleg Kalnichevski

> Use java.util.concurrent.ThreadFactory or similar
> -------------------------------------------------
>
>                 Key: HTTPCORE-27
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-27
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha4
>         Environment: Windows Vista
>            Reporter: Anders Wallgren
>         Assigned To: Oleg Kalnichevski
>             Fix For: 4.0-alpha4
>
>
> I'd like to supply my own threads (mostly because I want to name them and do some logging around thread lifecycles).  It would be great to be able to supply a ThreadFactory to reactors that create worker threads.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Commented: (HTTPCORE-27) Use java.util.concurrent.ThreadFactory or similar

Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCORE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466530 ] 

Anders Wallgren commented on HTTPCORE-27:
-----------------------------------------

That makes sense -- forgot that those API were new in 1.5.

> Use java.util.concurrent.ThreadFactory or similar
> -------------------------------------------------
>
>                 Key: HTTPCORE-27
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-27
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha4
>         Environment: Windows Vista
>            Reporter: Anders Wallgren
>             Fix For: 4.0-alpha4
>
>
> I'd like to supply my own threads (mostly because I want to name them and do some logging around thread lifecycles).  It would be great to be able to supply a ThreadFactory to reactors that create worker threads.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org