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

        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
        Hide
        Sebb added a comment -

        Patch to remove the userKeys LRUMap

        Show
        Sebb added a comment - Patch to remove the userKeys LRUMap

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development