commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qingtian Wang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CODEC-55) make all "business" method implementations of public API thread safe
Date Mon, 08 Oct 2007 15:15:50 GMT

    [ https://issues.apache.org/jira/browse/CODEC-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533143
] 

Qingtian Wang commented on CODEC-55:
------------------------------------

All points taken from the previous comments.

I am just thinking on the most "common" use case where an application inits an instance of
the class, and set all its dependencies at the application start time. (The thread safety
during that bootstrap is totally up to the application.) And during the whole life span of
the application before it exits, only the "business" methods are invoked by multiple threads.


Now it's again subjective as to whether that is really the "most common" use case, but I think
being able to say that "if you use only the business methods, you are thread safe." is good
enough for a LOT of users.



> make all "business" method implementations of public API thread safe 
> ---------------------------------------------------------------------
>
>                 Key: CODEC-55
>                 URL: https://issues.apache.org/jira/browse/CODEC-55
>             Project: Commons Codec
>          Issue Type: Wish
>            Reporter: Qingtian Wang
>
> Maybe most of the implementations are already thread safe. Just such that codec can say
so in general...

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


Mime
View raw message