JSurf commented on a change in pull request #67:
URL: https://github.com/apache/commons-pool/pull/67#discussion_r583686761
##########
File path:
src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
##########
@@ -267,6 +272,25 @@ public GenericKeyedObjectPool(final
KeyedPooledObjectFactory<K, T> factory,
setConfig(config);
}
+ /**
+ * Creates a new {@code GenericKeyedObjectPool} that tracks and destroys
+ * objects that are checked out, but never returned to the pool.
+ *
+ * @param factory The object factory to be used to create object
instances
+ * used by this pool
+ * @param config The base pool configuration to use for this pool
instance.
+ * The configuration is used by value. Subsequent changes
to
+ * the configuration object will not be reflected in the
+ * pool.
+ * @param abandonedConfig Configuration for abandoned object
identification
+ * and removal. The configuration is used by
value.
+ */
Review comment:
Added `@since` tags
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]