You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by gg...@apache.org on 2020/09/29 15:33:20 UTC
svn commit: r1066218 [3/31] - in
/websites/production/commons/content/proper/commons-pool: ./ apidocs/
apidocs/org/apache/commons/pool2/ apidocs/org/apache/commons/pool2/class-use/
apidocs/org/apache/commons/pool2/impl/ apidocs/org/apache/commons/pool2...
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/DefaultPooledObject.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/DefaultPooledObject.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/DefaultPooledObject.html Tue Sep 29 15:33:18 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>DefaultPooledObject (Apache Commons Pool 2.8.1 API)</title>
+<title>DefaultPooledObject (Apache Commons Pool 2.9.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="DefaultPooledObject (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="DefaultPooledObject (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/DefaultPooledObjectInfo.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/DefaultPooledObjectInfo.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/DefaultPooledObjectInfo.html Tue Sep 29 15:33:18 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>DefaultPooledObjectInfo (Apache Commons Pool 2.8.1 API)</title>
+<title>DefaultPooledObjectInfo (Apache Commons Pool 2.9.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="DefaultPooledObjectInfo (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="DefaultPooledObjectInfo (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
@@ -337,7 +337,7 @@ implements <a href="../../../../../org/a
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html#getLastBorrowTimeFormatted--">getLastBorrowTimeFormatted</a></code> in interface <code><a href="../../../../../org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html" title="interface in org.apache.commons.pool2.impl">DefaultPooledObjectInfoMBean</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The last borrowed time for the pooled object formated as
+<dd>The last borrowed time for the pooled object formatted as
<code>yyyy-MM-dd HH:mm:ss Z</code></dd>
</dl>
</li>
@@ -391,7 +391,7 @@ implements <a href="../../../../../org/a
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html#getLastReturnTimeFormatted--">getLastReturnTimeFormatted</a></code> in interface <code><a href="../../../../../org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html" title="interface in org.apache.commons.pool2.impl">DefaultPooledObjectInfoMBean</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The last returned time for the pooled object formated as
+<dd>The last returned time for the pooled object formatted as
<code>yyyy-MM-dd HH:mm:ss Z</code></dd>
</dl>
</li>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html Tue Sep 29 15:33:18 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>DefaultPooledObjectInfoMBean (Apache Commons Pool 2.8.1 API)</title>
+<title>DefaultPooledObjectInfoMBean (Apache Commons Pool 2.9.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="DefaultPooledObjectInfoMBean (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="DefaultPooledObjectInfoMBean (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
@@ -270,7 +270,7 @@ var activeTableTab = "activeTableTab";
<div class="block">Obtain the time that pooled object was last borrowed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The last borrowed time for the pooled object formated as
+<dd>The last borrowed time for the pooled object formatted as
<code>yyyy-MM-dd HH:mm:ss Z</code></dd>
</dl>
</li>
@@ -315,7 +315,7 @@ var activeTableTab = "activeTableTab";
<div class="block">Obtain the time that pooled object was last returned.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The last returned time for the pooled object formated as
+<dd>The last returned time for the pooled object formatted as
<code>yyyy-MM-dd HH:mm:ss Z</code></dd>
</dl>
</li>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/EvictionConfig.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/EvictionConfig.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/EvictionConfig.html Tue Sep 29 15:33:18 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>EvictionConfig (Apache Commons Pool 2.8.1 API)</title>
+<title>EvictionConfig (Apache Commons Pool 2.9.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="EvictionConfig (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="EvictionConfig (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/EvictionPolicy.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/EvictionPolicy.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/EvictionPolicy.html Tue Sep 29 15:33:18 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>EvictionPolicy (Apache Commons Pool 2.8.1 API)</title>
+<title>EvictionPolicy (Apache Commons Pool 2.9.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="EvictionPolicy (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="EvictionPolicy (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html Tue Sep 29 15:33:18 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>GenericKeyedObjectPool (Apache Commons Pool 2.8.1 API)</title>
+<title>GenericKeyedObjectPool (Apache Commons Pool 2.9.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,13 +12,13 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="GenericKeyedObjectPool (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="GenericKeyedObjectPool (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -128,7 +128,7 @@ var activeTableTab = "activeTableTab";
</dl>
<hr>
<br>
-<pre>public class <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.85">GenericKeyedObjectPool</a><K,T>
+<pre>public class <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.86">GenericKeyedObjectPool</a><K,T>
extends <a href="../../../../../org/apache/commons/pool2/impl/BaseGenericObjectPool.html" title="class in org.apache.commons.pool2.impl">BaseGenericObjectPool</a><T>
implements <a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html" title="interface in org.apache.commons.pool2">KeyedObjectPool</a><K,T>, <a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.html" title="interface in org.apache.commons.pool2.impl">GenericKeyedObjectPoolMXBean</a><K></pre>
<div class="block">A configurable <code>KeyedObjectPool</code> implementation.
@@ -370,53 +370,62 @@ implements <a href="../../../../../org/a
</td>
</tr>
<tr id="i20" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#invalidateObject-K-T-org.apache.commons.pool2.DestroyMode-">invalidateObject</a></span>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key,
+ <a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a> obj,
+ <a href="../../../../../org/apache/commons/pool2/DestroyMode.html" title="enum in org.apache.commons.pool2">DestroyMode</a> mode)</code>
+<div class="block">Invalidates an object from the pool, using the provided
+ <a href="../../../../../org/apache/commons/pool2/DestroyMode.html" title="enum in org.apache.commons.pool2"><code>DestroyMode</code></a>.</div>
+</td>
+</tr>
+<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/commons/pool2/impl/DefaultPooledObjectInfo.html" title="class in org.apache.commons.pool2.impl">DefaultPooledObjectInfo</a>>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#listAllObjects--">listAllObjects</a></span>()</code>
<div class="block">Provides information on all the objects in the pool, both idle (waiting
to be borrowed) and active (currently borrowed).</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#preparePool-K-">preparePool</a></span>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)</code>
<div class="block">Registers a key for pool control and ensures that
<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#getMinIdlePerKey--"><code>getMinIdlePerKey()</code></a> idle instances are created.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#returnObject-K-T-">returnObject</a></span>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key,
<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a> obj)</code>
<div class="block">Returns an object to a keyed sub-pool.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#setConfig-org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig-">setConfig</a></span>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.html" title="class in org.apache.commons.pool2.impl">GenericKeyedObjectPoolConfig</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> conf)</code>
<div class="block">Sets the configuration.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#setMaxIdlePerKey-int-">setMaxIdlePerKey</a></span>(int maxIdlePerKey)</code>
<div class="block">Sets the cap on the number of "idle" instances per key in the pool.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#setMaxTotalPerKey-int-">setMaxTotalPerKey</a></span>(int maxTotalPerKey)</code>
<div class="block">Sets the limit on the number of object instances allocated by the pool
(checked out or idle), per key.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#setMinIdlePerKey-int-">setMinIdlePerKey</a></span>(int minIdlePerKey)</code>
<div class="block">Sets the target for the minimum number of idle objects to maintain in
each of the keyed sub-pools.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#toStringAppendFields-java.lang.StringBuilder-">toStringAppendFields</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> builder)</code>
<div class="block">Used by sub-classes to include the fields defined by the sub-class in the
@@ -479,7 +488,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>GenericKeyedObjectPool</h4>
-<pre>public <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.93">GenericKeyedObjectPool</a>(<a href="../../../../../org/apache/commons/pool2/KeyedPooledObjectFactory.html" title="interface in org.apache.commons.pool2">KeyedPooledObjectFactory</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a>,<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> factory)</pre>
+<pre>public <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.94">GenericKeyedObjectPool</a>(<a href="../../../../../org/apache/commons/pool2/KeyedPooledObjectFactory.html" title="interface in org.apache.commons.pool2">KeyedPooledObjectFactory</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a>,<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> factory)</pre>
<div class="block">Create a new <code>GenericKeyedObjectPool</code> using defaults from
<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.html" title="class in org.apache.commons.pool2.impl"><code>GenericKeyedObjectPoolConfig</code></a>.</div>
<dl>
@@ -494,7 +503,7 @@ implements <a href="../../../../../org/a
<ul class="blockListLast">
<li class="blockList">
<h4>GenericKeyedObjectPool</h4>
-<pre>public <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.107">GenericKeyedObjectPool</a>(<a href="../../../../../org/apache/commons/pool2/KeyedPooledObjectFactory.html" title="interface in org.apache.commons.pool2">KeyedPooledObjectFactory</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a>,<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> factory,
+<pre>public <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.108">GenericKeyedObjectPool</a>(<a href="../../../../../org/apache/commons/pool2/KeyedPooledObjectFactory.html" title="interface in org.apache.commons.pool2">KeyedPooledObjectFactory</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a>,<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> factory,
<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.html" title="class in org.apache.commons.pool2.impl">GenericKeyedObjectPoolConfig</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> config)</pre>
<div class="block">Create a new <code>GenericKeyedObjectPool</code> using a specific
configuration.</div>
@@ -522,7 +531,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getMaxTotalPerKey</h4>
-<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.132">getMaxTotalPerKey</a>()</pre>
+<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.133">getMaxTotalPerKey</a>()</pre>
<div class="block">Returns the limit on the number of object instances allocated by the pool
(checked out or idle), per key. When the limit is reached, the sub-pool
is said to be exhausted. A negative value indicates no limit.</div>
@@ -542,7 +551,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>setMaxTotalPerKey</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.145">setMaxTotalPerKey</a>(int maxTotalPerKey)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.146">setMaxTotalPerKey</a>(int maxTotalPerKey)</pre>
<div class="block">Sets the limit on the number of object instances allocated by the pool
(checked out or idle), per key. When the limit is reached, the sub-pool
is said to be exhausted. A negative value indicates no limit.</div>
@@ -560,7 +569,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getMaxIdlePerKey</h4>
-<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.166">getMaxIdlePerKey</a>()</pre>
+<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.167">getMaxIdlePerKey</a>()</pre>
<div class="block">Returns the cap on the number of "idle" instances per key in the pool.
If maxIdlePerKey is set too low on heavily loaded systems it is possible
you will see objects being destroyed and almost immediately new objects
@@ -586,7 +595,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>setMaxIdlePerKey</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.186">setMaxIdlePerKey</a>(int maxIdlePerKey)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.187">setMaxIdlePerKey</a>(int maxIdlePerKey)</pre>
<div class="block">Sets the cap on the number of "idle" instances per key in the pool.
If maxIdlePerKey is set too low on heavily loaded systems it is possible
you will see objects being destroyed and almost immediately new objects
@@ -611,7 +620,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>setMinIdlePerKey</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.208">setMinIdlePerKey</a>(int minIdlePerKey)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.209">setMinIdlePerKey</a>(int minIdlePerKey)</pre>
<div class="block">Sets the target for the minimum number of idle objects to maintain in
each of the keyed sub-pools. This setting only has an effect if it is
positive and <a href="../../../../../org/apache/commons/pool2/impl/BaseGenericObjectPool.html#getTimeBetweenEvictionRunsMillis--"><code>BaseGenericObjectPool.getTimeBetweenEvictionRunsMillis()</code></a> is greater than
@@ -638,7 +647,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getMinIdlePerKey</h4>
-<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.229">getMinIdlePerKey</a>()</pre>
+<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.230">getMinIdlePerKey</a>()</pre>
<div class="block">Returns the target for the minimum number of idle objects to maintain in
each of the keyed sub-pools. This setting only has an effect if it is
positive and <a href="../../../../../org/apache/commons/pool2/impl/BaseGenericObjectPool.html#getTimeBetweenEvictionRunsMillis--"><code>BaseGenericObjectPool.getTimeBetweenEvictionRunsMillis()</code></a> is greater than
@@ -665,7 +674,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>setConfig</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.244">setConfig</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.html" title="class in org.apache.commons.pool2.impl">GenericKeyedObjectPoolConfig</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> conf)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.245">setConfig</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.html" title="class in org.apache.commons.pool2.impl">GenericKeyedObjectPoolConfig</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> conf)</pre>
<div class="block">Sets the configuration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -681,7 +690,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getFactory</h4>
-<pre>public <a href="../../../../../org/apache/commons/pool2/KeyedPooledObjectFactory.html" title="interface in org.apache.commons.pool2">KeyedPooledObjectFactory</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a>,<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.258">getFactory</a>()</pre>
+<pre>public <a href="../../../../../org/apache/commons/pool2/KeyedPooledObjectFactory.html" title="interface in org.apache.commons.pool2">KeyedPooledObjectFactory</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a>,<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.259">getFactory</a>()</pre>
<div class="block">Obtain a reference to the factory used to create, destroy and validate
the objects used by this pool.</div>
<dl>
@@ -698,7 +707,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>borrowObject</h4>
-<pre>public <a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.269">borrowObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)
+<pre>public <a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.270">borrowObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Equivalent to <code><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#borrowObject-K-long-"><code>borrowObject</code></a>(key,
<a href="../../../../../org/apache/commons/pool2/impl/BaseGenericObjectPool.html#getMaxWaitMillis--"><code>BaseGenericObjectPool.getMaxWaitMillis()</code></a>)</code>.
@@ -747,7 +756,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>borrowObject</h4>
-<pre>public <a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.329">borrowObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key,
+<pre>public <a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.330">borrowObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key,
long borrowMaxWaitMillis)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Borrows an object from the sub-pool associated with the given key using
@@ -814,7 +823,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>returnObject</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.451">returnObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key,
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.452">returnObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key,
<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a> obj)</pre>
<div class="block">Returns an object to a keyed sub-pool.
<p>
@@ -850,7 +859,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>invalidateObject</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.561">invalidateObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key,
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.562">invalidateObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key,
<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a> obj)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Invalidates an object from the pool.
@@ -882,13 +891,58 @@ implements <a href="../../../../../org/a
</dl>
</li>
</ul>
+<a name="invalidateObject-java.lang.Object-java.lang.Object-org.apache.commons.pool2.DestroyMode-">
+<!-- -->
+</a><a name="invalidateObject-K-T-org.apache.commons.pool2.DestroyMode-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>invalidateObject</h4>
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.583">invalidateObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key,
+ <a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a> obj,
+ <a href="../../../../../org/apache/commons/pool2/DestroyMode.html" title="enum in org.apache.commons.pool2">DestroyMode</a> mode)
+ throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<div class="block">Invalidates an object from the pool, using the provided
+ <a href="../../../../../org/apache/commons/pool2/DestroyMode.html" title="enum in org.apache.commons.pool2"><code>DestroyMode</code></a>.
+ <p>
+ By contract, <code>obj</code> <strong>must</strong> have been obtained
+ using <a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#borrowObject-K-"><code>borrowObject</code></a> or a related method as defined
+ in an implementation or sub-interface using a <code>key</code> that is
+ equivalent to the one used to borrow the <code>Object</code> in the first
+ place.
+ </p>
+ <p>
+ This method should be used when an object that has been borrowed is
+ determined (due to an exception or other problem) to be invalid.
+ </p>
+ <p>
+ Activation of this method decrements the active count associated with
+ the given keyed pool and attempts to destroy <code>obj.</code></div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#invalidateObject-K-V-org.apache.commons.pool2.DestroyMode-">invalidateObject</a></code> in interface <code><a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html" title="interface in org.apache.commons.pool2">KeyedObjectPool</a><<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a>,<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">T</a>></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>key</code> - pool key</dd>
+<dd><code>obj</code> - instance to invalidate</dd>
+<dd><code>mode</code> - DestroyMode context provided to factory</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if an exception occurs destroying the
+ object</dd>
+<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if obj does not belong to the pool
+ under the given key</dd>
+<dt><span class="simpleTagLabel">Since:</span></dt>
+<dd>2.9.0</dd>
+</dl>
+</li>
+</ul>
<a name="clear--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.600">clear</a>()</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.622">clear</a>()</pre>
<div class="block">Clears any objects sitting idle in the pool by removing them from the
idle instance sub-pools and then invoking the configured
PoolableObjectFactory's
@@ -919,7 +973,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.618">clear</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.640">clear</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)</pre>
<div class="block">Clears the specified sub-pool, removing all pooled instances
corresponding to the given <code>key</code>. Exceptions encountered
destroying idle instances are swallowed but notified via a
@@ -938,7 +992,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getNumActive</h4>
-<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.643">getNumActive</a>()</pre>
+<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.665">getNumActive</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#getNumActive--">KeyedObjectPool</a></code></span></div>
<div class="block">Returns the total number of instances currently borrowed from this pool but
not yet returned. Returns a negative value if this information is not
@@ -960,7 +1014,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getNumIdle</h4>
-<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.649">getNumIdle</a>()</pre>
+<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.671">getNumIdle</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/commons/pool2/impl/BaseGenericObjectPool.html#getNumIdle--">BaseGenericObjectPool</a></code></span></div>
<div class="block">The number of instances currently idle in this pool.</div>
<dl>
@@ -983,7 +1037,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getNumActive</h4>
-<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.662">getNumActive</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)</pre>
+<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.684">getNumActive</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#getNumActive-K-">KeyedObjectPool</a></code></span></div>
<div class="block">Returns the number of instances currently borrowed from but not yet
returned to the pool corresponding to the given <code>key</code>.
@@ -1007,7 +1061,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getNumIdle</h4>
-<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.673">getNumIdle</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)</pre>
+<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.695">getNumIdle</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#getNumIdle-K-">KeyedObjectPool</a></code></span></div>
<div class="block">Returns the number of instances corresponding to the given
<code>key</code> currently idle in this pool. Returns a negative value if
@@ -1029,7 +1083,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.689">close</a>()</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.711">close</a>()</pre>
<div class="block">Closes the keyed object pool. Once the pool is closed,
<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#borrowObject-K-"><code>borrowObject(Object)</code></a> will fail with IllegalStateException, but
<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#returnObject-K-T-"><code>returnObject(Object, Object)</code></a> and
@@ -1055,7 +1109,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>clearOldest</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.725">clearOldest</a>()</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.747">clearOldest</a>()</pre>
<div class="block">Clears oldest 15% of objects in pool. The method sorts the objects into
a TreeMap and then iterates the first 15% for removal.</div>
</li>
@@ -1066,7 +1120,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>evict</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.853">evict</a>()
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.875">evict</a>()
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block"><p>Perform <code>numTests</code> idle object eviction tests, evicting
examined objects that meet the criteria for eviction. If
@@ -1094,7 +1148,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>addObject</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1251">addObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1275">addObject</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Create an object using the <a href="../../../../../org/apache/commons/pool2/KeyedPooledObjectFactory.html#makeObject-K-"><code>factory</code></a>, passivate it, and then place it in the idle object pool.
<code>addObject</code> is useful for "pre-loading" a pool with idle
@@ -1118,7 +1172,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>preparePool</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1292">preparePool</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)
+<pre>public void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1316">preparePool</a>(<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html" title="type parameter in GenericKeyedObjectPool">K</a> key)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Registers a key for pool control and ensures that
<a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#getMinIdlePerKey--"><code>getMinIdlePerKey()</code></a> idle instances are created.</div>
@@ -1136,7 +1190,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getNumActivePerKey</h4>
-<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1358">getNumActivePerKey</a>()</pre>
+<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1382">getNumActivePerKey</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.html#getNumActivePerKey--">GenericKeyedObjectPoolMXBean</a></code></span></div>
<div class="block">See <a href="../../../../../org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#getNumActivePerKey--"><code>getNumActivePerKey()</code></a></div>
<dl>
@@ -1153,7 +1207,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getNumWaiters</h4>
-<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1386">getNumWaiters</a>()</pre>
+<pre>public int <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1410">getNumWaiters</a>()</pre>
<div class="block">Return an estimate of the number of threads currently blocked waiting for
an object from the pool. This is intended for monitoring only, not for
synchronization control.</div>
@@ -1172,7 +1226,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>getNumWaitersByKey</h4>
-<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1410">getNumWaitersByKey</a>()</pre>
+<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1434">getNumWaitersByKey</a>()</pre>
<div class="block">Return an estimate of the number of threads currently blocked waiting for
an object from the pool for each key. This is intended for
monitoring only, not for synchronization control.</div>
@@ -1191,7 +1245,7 @@ implements <a href="../../../../../org/a
<ul class="blockList">
<li class="blockList">
<h4>listAllObjects</h4>
-<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/commons/pool2/impl/DefaultPooledObjectInfo.html" title="class in org.apache.commons.pool2.impl">DefaultPooledObjectInfo</a>>> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1440">listAllObjects</a>()</pre>
+<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/commons/pool2/impl/DefaultPooledObjectInfo.html" title="class in org.apache.commons.pool2.impl">DefaultPooledObjectInfo</a>>> <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1464">listAllObjects</a>()</pre>
<div class="block">Provides information on all the objects in the pool, both idle (waiting
to be borrowed) and active (currently borrowed).
<p>
@@ -1213,7 +1267,7 @@ implements <a href="../../../../../org/a
<ul class="blockListLast">
<li class="blockList">
<h4>toStringAppendFields</h4>
-<pre>protected void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1601">toStringAppendFields</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> builder)</pre>
+<pre>protected void <a href="../../../../../src-html/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#line.1625">toStringAppendFields</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> builder)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/commons/pool2/BaseObject.html#toStringAppendFields-java.lang.StringBuilder-">BaseObject</a></code></span></div>
<div class="block">Used by sub-classes to include the fields defined by the sub-class in the
<a href="../../../../../org/apache/commons/pool2/BaseObject.html#toString--"><code>BaseObject.toString()</code></a> output.</div>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.html Tue Sep 29 15:33:18 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>GenericKeyedObjectPoolConfig (Apache Commons Pool 2.8.1 API)</title>
+<title>GenericKeyedObjectPoolConfig (Apache Commons Pool 2.9.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="GenericKeyedObjectPoolConfig (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="GenericKeyedObjectPoolConfig (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.html Tue Sep 29 15:33:18 2020
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>GenericKeyedObjectPoolMXBean (Apache Commons Pool 2.8.1 API)</title>
+<title>GenericKeyedObjectPoolMXBean (Apache Commons Pool 2.9.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="GenericKeyedObjectPoolMXBean (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="GenericKeyedObjectPoolMXBean (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {