commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (POOL-138) GenericKeyedObjectPoolFactory could be made immutable and thread-safe
Date Wed, 20 May 2009 23:23:45 GMT
GenericKeyedObjectPoolFactory could be made immutable and thread-safe
---------------------------------------------------------------------

                 Key: POOL-138
                 URL: https://issues.apache.org/jira/browse/POOL-138
             Project: Commons Pool
          Issue Type: Improvement
    Affects Versions: 1.4
            Reporter: Sebb


GenericKeyedObjectPoolFactory could be made immutable and thread-safe by making all the protected
fields final.

This would preclude creating a factory and then changing one of the parameters, though as
the fields are protected only subclasses can do this.

As the class stands, it is not intrinsically thread-safe.

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