commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r902083 - in /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources: CPDSConnectionFactory.java KeyedCPDSConnectionFactory.java
Date Fri, 22 Jan 2010 13:43:39 GMT
Author: sebb
Date: Fri Jan 22 13:43:38 2010
New Revision: 902083

URL: http://svn.apache.org/viewvc?rev=902083&view=rev
Log:
Javadoc

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

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/CPDSConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/CPDSConnectionFactory.java?rev=902083&r1=902082&r2=902083&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/CPDSConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/CPDSConnectionFactory.java
Fri Jan 22 13:43:38 2010
@@ -54,8 +54,17 @@
     protected volatile ObjectPool _pool = null;
     protected String _username = null;
     protected String _password = null;
-    private final Map validatingMap = new HashMap();
-    private final WeakHashMap pcMap = new WeakHashMap();
+
+    /** 
+     * Map of PooledConnections for which close events are ignored.
+     * Connections are muted when they are being validated.
+     */
+    private final Map /* <PooledConnection, null> */ validatingMap = new HashMap();
+
+    /**
+     * Map of PooledConnectionAndInfo instances
+     */
+    private final WeakHashMap /* <PooledConnection, PooledConnectionAndInfo> */ pcMap
= new WeakHashMap();
 
     /**
      * Create a new <tt>PoolableConnectionFactory</tt>.

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/KeyedCPDSConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/KeyedCPDSConnectionFactory.java?rev=902083&r1=902082&r2=902083&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/KeyedCPDSConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/KeyedCPDSConnectionFactory.java
Fri Jan 22 13:43:38 2010
@@ -57,12 +57,12 @@
      * Map of PooledConnections for which close events are ignored.
      * Connections are muted when they are being validated.
      */
-    private final Map validatingMap = new HashMap();
+    private final Map /* <PooledConnection, null> */ validatingMap = new HashMap();
     
     /**
      * Map of PooledConnectionAndInfo instances
      */
-    private final WeakHashMap pcMap = new WeakHashMap();
+    private final WeakHashMap /* <PooledConnection, PooledConnectionAndInfo> */ pcMap
= new WeakHashMap();
 
     /**
      * Create a new <tt>KeyedPoolableConnectionFactory</tt>.



Mime
View raw message