Commons Dbcp
  1. Commons Dbcp
  2. DBCP-321

SharedPoolDataSource does not need userKeys LRUMap cache

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      SharedPoolDataSource does not need userKeys LRUMap cache.

      The cache contains UserPassKey instances, which are small and immutable, and anyway they are only used when getting the initial connection

        Activity

        Sebb created issue -
        Hide
        Sebb added a comment -

        Patch to remove the userKeys LRUMap

        Show
        Sebb added a comment - Patch to remove the userKeys LRUMap
        Sebb made changes -
        Field Original Value New Value
        Attachment SharedPoolDataSource.patch [ 12430286 ]
        sebb committed 900046 (1 file)
        Reviews: none

        DBCP-321 SharedPoolDataSource does not need userKeys LRUMap cache

        Hide
        Sebb added a comment -

        Author: sebb
        Date: Sun Jan 17 01:40:55 2010
        New Revision: 900046

        URL: http://svn.apache.org/viewvc?rev=900046&view=rev
        Log:
        DBCP-321 SharedPoolDataSource does not need userKeys LRUMap cache

        Modified:
        commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java

        Show
        Sebb added a comment - Author: sebb Date: Sun Jan 17 01:40:55 2010 New Revision: 900046 URL: http://svn.apache.org/viewvc?rev=900046&view=rev Log: DBCP-321 SharedPoolDataSource does not need userKeys LRUMap cache Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java
        Sebb made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.3 [ 12311977 ]
        Resolution Fixed [ 1 ]
        Phil Steitz made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Sebb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development