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 [5/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/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-frame.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>org.apache.commons.pool2 (Apache Commons Pool 2.8.1 API)</title>
+<title>org.apache.commons.pool2 (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>
@@ -32,6 +32,7 @@
</ul>
<h2 title="Enums">Enums</h2>
<ul title="Enums">
+<li><a href="DestroyMode.html" title="enum in org.apache.commons.pool2" target="classFrame">DestroyMode</a></li>
<li><a href="PooledObjectState.html" title="enum in org.apache.commons.pool2" target="classFrame">PooledObjectState</a></li>
</ul>
</div>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-summary.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>org.apache.commons.pool2 (Apache Commons Pool 2.8.1 API)</title>
+<title>org.apache.commons.pool2 (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="org.apache.commons.pool2 (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="org.apache.commons.pool2 (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
@@ -198,6 +198,12 @@
</tr>
<tbody>
<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/commons/pool2/DestroyMode.html" title="enum in org.apache.commons.pool2">DestroyMode</a></td>
+<td class="colLast">
+<div class="block">Destroy context provided to object factories via destroyObject methods.</div>
+</td>
+</tr>
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/commons/pool2/PooledObjectState.html" title="enum in org.apache.commons.pool2">PooledObjectState</a></td>
<td class="colLast">
<div class="block">Provides the possible states that a <a href="../../../../org/apache/commons/pool2/PooledObject.html" title="interface in org.apache.commons.pool2"><code>PooledObject</code></a> may be in.</div>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-tree.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-tree.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-tree.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>org.apache.commons.pool2 Class Hierarchy (Apache Commons Pool 2.8.1 API)</title>
+<title>org.apache.commons.pool2 Class Hierarchy (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="org.apache.commons.pool2 Class Hierarchy (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="org.apache.commons.pool2 Class Hierarchy (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
@@ -121,6 +121,7 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<ul>
+<li type="circle">org.apache.commons.pool2.<a href="../../../../org/apache/commons/pool2/DestroyMode.html" title="enum in org.apache.commons.pool2"><span class="typeNameLink">DestroyMode</span></a></li>
<li type="circle">org.apache.commons.pool2.<a href="../../../../org/apache/commons/pool2/PooledObjectState.html" title="enum in org.apache.commons.pool2"><span class="typeNameLink">PooledObjectState</span></a></li>
</ul>
</li>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-use.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-use.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/package-use.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>Uses of Package org.apache.commons.pool2 (Apache Commons Pool 2.8.1 API)</title>
+<title>Uses of Package org.apache.commons.pool2 (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="Uses of Package org.apache.commons.pool2 (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="Uses of Package org.apache.commons.pool2 (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
@@ -121,34 +121,39 @@
</td>
</tr>
<tr class="rowColor">
+<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/DestroyMode.html#org.apache.commons.pool2">DestroyMode</a>
+<div class="block">Destroy context provided to object factories via destroyObject methods.</div>
+</td>
+</tr>
+<tr class="altColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/KeyedObjectPool.html#org.apache.commons.pool2">KeyedObjectPool</a>
<div class="block">A "keyed" pooling interface.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/KeyedPooledObjectFactory.html#org.apache.commons.pool2">KeyedPooledObjectFactory</a>
<div class="block">An interface defining life-cycle methods for
instances to be served by a <a href="../../../../org/apache/commons/pool2/KeyedObjectPool.html" title="interface in org.apache.commons.pool2"><code>KeyedObjectPool</code></a>.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/ObjectPool.html#org.apache.commons.pool2">ObjectPool</a>
<div class="block">A pooling simple interface.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/PooledObject.html#org.apache.commons.pool2">PooledObject</a>
<div class="block">Defines the wrapper that is used to track the additional information, such as
state, for the pooled objects.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/PooledObjectFactory.html#org.apache.commons.pool2">PooledObjectFactory</a>
<div class="block">An interface defining life-cycle methods for instances to be served by an
<a href="../../../../org/apache/commons/pool2/ObjectPool.html" title="interface in org.apache.commons.pool2"><code>ObjectPool</code></a>.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/PooledObjectState.html#org.apache.commons.pool2">PooledObjectState</a>
<div class="block">Provides the possible states that a <a href="../../../../org/apache/commons/pool2/PooledObject.html" title="interface in org.apache.commons.pool2"><code>PooledObject</code></a> may be in.</div>
</td>
@@ -176,45 +181,50 @@
</td>
</tr>
<tr class="altColor">
+<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/DestroyMode.html#org.apache.commons.pool2.impl">DestroyMode</a>
+<div class="block">Destroy context provided to object factories via destroyObject methods.</div>
+</td>
+</tr>
+<tr class="rowColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/KeyedObjectPool.html#org.apache.commons.pool2.impl">KeyedObjectPool</a>
<div class="block">A "keyed" pooling interface.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/KeyedPooledObjectFactory.html#org.apache.commons.pool2.impl">KeyedPooledObjectFactory</a>
<div class="block">An interface defining life-cycle methods for
instances to be served by a <a href="../../../../org/apache/commons/pool2/KeyedObjectPool.html" title="interface in org.apache.commons.pool2"><code>KeyedObjectPool</code></a>.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/ObjectPool.html#org.apache.commons.pool2.impl">ObjectPool</a>
<div class="block">A pooling simple interface.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/PooledObject.html#org.apache.commons.pool2.impl">PooledObject</a>
<div class="block">Defines the wrapper that is used to track the additional information, such as
state, for the pooled objects.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/PooledObjectFactory.html#org.apache.commons.pool2.impl">PooledObjectFactory</a>
<div class="block">An interface defining life-cycle methods for instances to be served by an
<a href="../../../../org/apache/commons/pool2/ObjectPool.html" title="interface in org.apache.commons.pool2"><code>ObjectPool</code></a>.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/PooledObjectState.html#org.apache.commons.pool2.impl">PooledObjectState</a>
<div class="block">Provides the possible states that a <a href="../../../../org/apache/commons/pool2/PooledObject.html" title="interface in org.apache.commons.pool2"><code>PooledObject</code></a> may be in.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/SwallowedExceptionListener.html#org.apache.commons.pool2.impl">SwallowedExceptionListener</a>
<div class="block">Pools that unavoidably swallow exceptions may be configured with an instance
of this listener so the user may receive notification of when this happens.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colOne"><a href="../../../../org/apache/commons/pool2/class-use/UsageTracking.html#org.apache.commons.pool2.impl">UsageTracking</a>
<div class="block">This interface may be implemented by an object pool to enable clients
(primarily those clients that wrap pools to provide pools with extended
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/CglibProxySource.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/CglibProxySource.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/CglibProxySource.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>CglibProxySource (Apache Commons Pool 2.8.1 API)</title>
+<title>CglibProxySource (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="CglibProxySource (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="CglibProxySource (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/JdkProxySource.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/JdkProxySource.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/JdkProxySource.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>JdkProxySource (Apache Commons Pool 2.8.1 API)</title>
+<title>JdkProxySource (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="JdkProxySource (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="JdkProxySource (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/ProxiedKeyedObjectPool.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/ProxiedKeyedObjectPool.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/ProxiedKeyedObjectPool.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>ProxiedKeyedObjectPool (Apache Commons Pool 2.8.1 API)</title>
+<title>ProxiedKeyedObjectPool (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="ProxiedKeyedObjectPool (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="ProxiedKeyedObjectPool (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
@@ -258,7 +258,7 @@ implements <a href="../../../../../org/a
<!-- -->
</a>
<h3>Methods inherited from interface org.apache.commons.pool2.<a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html" title="interface in org.apache.commons.pool2">KeyedObjectPool</a></h3>
-<code><a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#addObjects-java.util.Collection-int-">addObjects</a>, <a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#addObjects-K-int-">addObjects</a></code></li>
+<code><a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#addObjects-java.util.Collection-int-">addObjects</a>, <a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#addObjects-K-int-">addObjects</a>, <a href="../../../../../org/apache/commons/pool2/KeyedObjectPool.html#invalidateObject-K-V-org.apache.commons.pool2.DestroyMode-">invalidateObject</a></code></li>
</ul>
</li>
</ul>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/ProxiedObjectPool.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/ProxiedObjectPool.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/ProxiedObjectPool.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>ProxiedObjectPool (Apache Commons Pool 2.8.1 API)</title>
+<title>ProxiedObjectPool (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="ProxiedObjectPool (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="ProxiedObjectPool (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
@@ -234,7 +234,7 @@ implements <a href="../../../../../org/a
<!-- -->
</a>
<h3>Methods inherited from interface org.apache.commons.pool2.<a href="../../../../../org/apache/commons/pool2/ObjectPool.html" title="interface in org.apache.commons.pool2">ObjectPool</a></h3>
-<code><a href="../../../../../org/apache/commons/pool2/ObjectPool.html#addObjects-int-">addObjects</a></code></li>
+<code><a href="../../../../../org/apache/commons/pool2/ObjectPool.html#addObjects-int-">addObjects</a>, <a href="../../../../../org/apache/commons/pool2/ObjectPool.html#invalidateObject-T-org.apache.commons.pool2.DestroyMode-">invalidateObject</a></code></li>
</ul>
</li>
</ul>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/CglibProxySource.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/CglibProxySource.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/CglibProxySource.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>Uses of Class org.apache.commons.pool2.proxy.CglibProxySource (Apache Commons Pool 2.8.1 API)</title>
+<title>Uses of Class org.apache.commons.pool2.proxy.CglibProxySource (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="Uses of Class org.apache.commons.pool2.proxy.CglibProxySource (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="Uses of Class org.apache.commons.pool2.proxy.CglibProxySource (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/JdkProxySource.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/JdkProxySource.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/JdkProxySource.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>Uses of Class org.apache.commons.pool2.proxy.JdkProxySource (Apache Commons Pool 2.8.1 API)</title>
+<title>Uses of Class org.apache.commons.pool2.proxy.JdkProxySource (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="Uses of Class org.apache.commons.pool2.proxy.JdkProxySource (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="Uses of Class org.apache.commons.pool2.proxy.JdkProxySource (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/ProxiedKeyedObjectPool.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/ProxiedKeyedObjectPool.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/ProxiedKeyedObjectPool.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>Uses of Class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool (Apache Commons Pool 2.8.1 API)</title>
+<title>Uses of Class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool (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="Uses of Class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="Uses of Class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/ProxiedObjectPool.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/ProxiedObjectPool.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/class-use/ProxiedObjectPool.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>Uses of Class org.apache.commons.pool2.proxy.ProxiedObjectPool (Apache Commons Pool 2.8.1 API)</title>
+<title>Uses of Class org.apache.commons.pool2.proxy.ProxiedObjectPool (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="Uses of Class org.apache.commons.pool2.proxy.ProxiedObjectPool (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="Uses of Class org.apache.commons.pool2.proxy.ProxiedObjectPool (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-frame.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>org.apache.commons.pool2.proxy (Apache Commons Pool 2.8.1 API)</title>
+<title>org.apache.commons.pool2.proxy (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>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-summary.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>org.apache.commons.pool2.proxy (Apache Commons Pool 2.8.1 API)</title>
+<title>org.apache.commons.pool2.proxy (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="org.apache.commons.pool2.proxy (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="org.apache.commons.pool2.proxy (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-tree.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-tree.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-tree.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>org.apache.commons.pool2.proxy Class Hierarchy (Apache Commons Pool 2.8.1 API)</title>
+<title>org.apache.commons.pool2.proxy Class Hierarchy (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="org.apache.commons.pool2.proxy Class Hierarchy (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="org.apache.commons.pool2.proxy Class Hierarchy (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-use.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-use.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/org/apache/commons/pool2/proxy/package-use.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>Uses of Package org.apache.commons.pool2.proxy (Apache Commons Pool 2.8.1 API)</title>
+<title>Uses of Package org.apache.commons.pool2.proxy (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="Uses of Package org.apache.commons.pool2.proxy (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="Uses of Package org.apache.commons.pool2.proxy (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
Modified: websites/production/commons/content/proper/commons-pool/apidocs/overview-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/overview-frame.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/overview-frame.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>Overview List (Apache Commons Pool 2.8.1 API)</title>
+<title>Overview List (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>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/overview-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/overview-summary.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/overview-summary.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>Overview (Apache Commons Pool 2.8.1 API)</title>
+<title>Overview (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="Overview (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="Overview (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
@@ -70,7 +70,7 @@
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
-<h1 class="title">Apache Commons Pool 2.8.1 API</h1>
+<h1 class="title">Apache Commons Pool 2.9.0 API</h1>
</div>
<div class="contentContainer">
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages, and an explanation">
Modified: websites/production/commons/content/proper/commons-pool/apidocs/overview-tree.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/overview-tree.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/overview-tree.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>Class Hierarchy (Apache Commons Pool 2.8.1 API)</title>
+<title>Class Hierarchy (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="Class Hierarchy (Apache Commons Pool 2.8.1 API)";
+ parent.document.title="Class Hierarchy (Apache Commons Pool 2.9.0 API)";
}
}
catch(err) {
@@ -163,6 +163,7 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<ul>
+<li type="circle">org.apache.commons.pool2.<a href="org/apache/commons/pool2/DestroyMode.html" title="enum in org.apache.commons.pool2"><span class="typeNameLink">DestroyMode</span></a></li>
<li type="circle">org.apache.commons.pool2.<a href="org/apache/commons/pool2/PooledObjectState.html" title="enum in org.apache.commons.pool2"><span class="typeNameLink">PooledObjectState</span></a></li>
</ul>
</li>
Added: websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/DestroyMode.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/DestroyMode.html (added)
+++ websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/DestroyMode.html Tue Sep 29 15:33:18 2020
@@ -0,0 +1,102 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements. See the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License. You may obtain a copy of the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package org.apache.commons.pool2;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Destroy context provided to object factories via destroyObject methods. Values provide information about why the pool<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * is asking for a pooled object to be destroyed.<a name="line.21"></a>
+<span class="sourceLineNo">022</span> *<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * @since 2.9.0<a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>public enum DestroyMode {<a name="line.25"></a>
+<span class="sourceLineNo">026</span> /** Normal destroy */<a name="line.26"></a>
+<span class="sourceLineNo">027</span> NORMAL,<a name="line.27"></a>
+<span class="sourceLineNo">028</span> /** Destroy abandoned object */<a name="line.28"></a>
+<span class="sourceLineNo">029</span> ABANDONED<a name="line.29"></a>
+<span class="sourceLineNo">030</span>}<a name="line.30"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file
Modified: websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/KeyedObjectPool.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/KeyedObjectPool.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/KeyedObjectPool.html Tue Sep 29 15:33:18 2020
@@ -279,27 +279,54 @@
<span class="sourceLineNo">271</span> */<a name="line.271"></a>
<span class="sourceLineNo">272</span> void invalidateObject(K key, V obj) throws Exception;<a name="line.272"></a>
<span class="sourceLineNo">273</span><a name="line.273"></a>
-<span class="sourceLineNo">274</span> /**<a name="line.274"></a>
-<span class="sourceLineNo">275</span> * Return an instance to the pool. By contract, {@code obj}<a name="line.275"></a>
-<span class="sourceLineNo">276</span> * <strong>must</strong> have been obtained using<a name="line.276"></a>
-<span class="sourceLineNo">277</span> * {@link #borrowObject borrowObject} or a related method as defined in an<a name="line.277"></a>
-<span class="sourceLineNo">278</span> * implementation or sub-interface using a {@code key} that is<a name="line.278"></a>
-<span class="sourceLineNo">279</span> * equivalent to the one used to borrow the instance in the first place.<a name="line.279"></a>
-<span class="sourceLineNo">280</span> *<a name="line.280"></a>
-<span class="sourceLineNo">281</span> * @param key the key used to obtain the object<a name="line.281"></a>
-<span class="sourceLineNo">282</span> * @param obj a {@link #borrowObject borrowed} instance to be returned.<a name="line.282"></a>
-<span class="sourceLineNo">283</span> *<a name="line.283"></a>
-<span class="sourceLineNo">284</span> * @throws IllegalStateException<a name="line.284"></a>
-<span class="sourceLineNo">285</span> * if an attempt is made to return an object to the pool that<a name="line.285"></a>
-<span class="sourceLineNo">286</span> * is in any state other than allocated (i.e. borrowed).<a name="line.286"></a>
-<span class="sourceLineNo">287</span> * Attempting to return an object more than once or attempting<a name="line.287"></a>
-<span class="sourceLineNo">288</span> * to return an object that was never borrowed from the pool<a name="line.288"></a>
-<span class="sourceLineNo">289</span> * will trigger this exception.<a name="line.289"></a>
-<span class="sourceLineNo">290</span> *<a name="line.290"></a>
-<span class="sourceLineNo">291</span> * @throws Exception if an instance cannot be returned to the pool<a name="line.291"></a>
-<span class="sourceLineNo">292</span> */<a name="line.292"></a>
-<span class="sourceLineNo">293</span> void returnObject(K key, V obj) throws Exception;<a name="line.293"></a>
-<span class="sourceLineNo">294</span>}<a name="line.294"></a>
+<span class="sourceLineNo">274</span><a name="line.274"></a>
+<span class="sourceLineNo">275</span> /**<a name="line.275"></a>
+<span class="sourceLineNo">276</span> * Invalidates an object from the pool, using the provided<a name="line.276"></a>
+<span class="sourceLineNo">277</span> * {@link DestroyMode}.<a name="line.277"></a>
+<span class="sourceLineNo">278</span> * <p><a name="line.278"></a>
+<span class="sourceLineNo">279</span> * By contract, {@code obj} <strong>must</strong> have been obtained<a name="line.279"></a>
+<span class="sourceLineNo">280</span> * using {@link #borrowObject borrowObject} or a related method as defined<a name="line.280"></a>
+<span class="sourceLineNo">281</span> * in an implementation or sub-interface using a {@code key} that is<a name="line.281"></a>
+<span class="sourceLineNo">282</span> * equivalent to the one used to borrow the {@code Object} in the first<a name="line.282"></a>
+<span class="sourceLineNo">283</span> * place.<a name="line.283"></a>
+<span class="sourceLineNo">284</span> * </p><a name="line.284"></a>
+<span class="sourceLineNo">285</span> * <p><a name="line.285"></a>
+<span class="sourceLineNo">286</span> * This method should be used when an object that has been borrowed is<a name="line.286"></a>
+<span class="sourceLineNo">287</span> * determined (due to an exception or other problem) to be invalid.<a name="line.287"></a>
+<span class="sourceLineNo">288</span> * </p><a name="line.288"></a>
+<span class="sourceLineNo">289</span> *<a name="line.289"></a>
+<span class="sourceLineNo">290</span> * @param key the key used to obtain the object<a name="line.290"></a>
+<span class="sourceLineNo">291</span> * @param obj a {@link #borrowObject borrowed} instance to be returned.<a name="line.291"></a>
+<span class="sourceLineNo">292</span> * @param mode destroy activation context provided to the factory<a name="line.292"></a>
+<span class="sourceLineNo">293</span> *<a name="line.293"></a>
+<span class="sourceLineNo">294</span> * @throws Exception if the instance cannot be invalidated<a name="line.294"></a>
+<span class="sourceLineNo">295</span> * @since 2.9.0<a name="line.295"></a>
+<span class="sourceLineNo">296</span> */<a name="line.296"></a>
+<span class="sourceLineNo">297</span> default void invalidateObject(final K key, final V obj, final DestroyMode mode) throws Exception {<a name="line.297"></a>
+<span class="sourceLineNo">298</span> invalidateObject(key, obj);<a name="line.298"></a>
+<span class="sourceLineNo">299</span> }<a name="line.299"></a>
+<span class="sourceLineNo">300</span><a name="line.300"></a>
+<span class="sourceLineNo">301</span> /**<a name="line.301"></a>
+<span class="sourceLineNo">302</span> * Return an instance to the pool. By contract, {@code obj}<a name="line.302"></a>
+<span class="sourceLineNo">303</span> * <strong>must</strong> have been obtained using<a name="line.303"></a>
+<span class="sourceLineNo">304</span> * {@link #borrowObject borrowObject} or a related method as defined in an<a name="line.304"></a>
+<span class="sourceLineNo">305</span> * implementation or sub-interface using a {@code key} that is<a name="line.305"></a>
+<span class="sourceLineNo">306</span> * equivalent to the one used to borrow the instance in the first place.<a name="line.306"></a>
+<span class="sourceLineNo">307</span> *<a name="line.307"></a>
+<span class="sourceLineNo">308</span> * @param key the key used to obtain the object<a name="line.308"></a>
+<span class="sourceLineNo">309</span> * @param obj a {@link #borrowObject borrowed} instance to be returned.<a name="line.309"></a>
+<span class="sourceLineNo">310</span> *<a name="line.310"></a>
+<span class="sourceLineNo">311</span> * @throws IllegalStateException<a name="line.311"></a>
+<span class="sourceLineNo">312</span> * if an attempt is made to return an object to the pool that<a name="line.312"></a>
+<span class="sourceLineNo">313</span> * is in any state other than allocated (i.e. borrowed).<a name="line.313"></a>
+<span class="sourceLineNo">314</span> * Attempting to return an object more than once or attempting<a name="line.314"></a>
+<span class="sourceLineNo">315</span> * to return an object that was never borrowed from the pool<a name="line.315"></a>
+<span class="sourceLineNo">316</span> * will trigger this exception.<a name="line.316"></a>
+<span class="sourceLineNo">317</span> *<a name="line.317"></a>
+<span class="sourceLineNo">318</span> * @throws Exception if an instance cannot be returned to the pool<a name="line.318"></a>
+<span class="sourceLineNo">319</span> */<a name="line.319"></a>
+<span class="sourceLineNo">320</span> void returnObject(K key, V obj) throws Exception;<a name="line.320"></a>
+<span class="sourceLineNo">321</span>}<a name="line.321"></a>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/KeyedPooledObjectFactory.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/KeyedPooledObjectFactory.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/KeyedPooledObjectFactory.html Tue Sep 29 15:33:18 2020
@@ -122,43 +122,63 @@
<span class="sourceLineNo">114</span> void destroyObject(K key, PooledObject<V> p) throws Exception;<a name="line.114"></a>
<span class="sourceLineNo">115</span><a name="line.115"></a>
<span class="sourceLineNo">116</span> /**<a name="line.116"></a>
-<span class="sourceLineNo">117</span> * Ensures that the instance is safe to be returned by the pool.<a name="line.117"></a>
+<span class="sourceLineNo">117</span> * Destroy an instance no longer needed by the pool, using the provided {@link DestroyMode}.<a name="line.117"></a>
<span class="sourceLineNo">118</span> *<a name="line.118"></a>
-<span class="sourceLineNo">119</span> * @param key the key used when selecting the object<a name="line.119"></a>
-<span class="sourceLineNo">120</span> * @param p a {@code PooledObject} wrapping the instance to be validated<a name="line.120"></a>
-<span class="sourceLineNo">121</span> *<a name="line.121"></a>
-<span class="sourceLineNo">122</span> * @return {@code false} if {@code obj} is not valid and should<a name="line.122"></a>
-<span class="sourceLineNo">123</span> * be dropped from the pool, {@code true} otherwise.<a name="line.123"></a>
-<span class="sourceLineNo">124</span> */<a name="line.124"></a>
-<span class="sourceLineNo">125</span> boolean validateObject(K key, PooledObject<V> p);<a name="line.125"></a>
-<span class="sourceLineNo">126</span><a name="line.126"></a>
-<span class="sourceLineNo">127</span> /**<a name="line.127"></a>
-<span class="sourceLineNo">128</span> * Reinitialize an instance to be returned by the pool.<a name="line.128"></a>
-<span class="sourceLineNo">129</span> *<a name="line.129"></a>
-<span class="sourceLineNo">130</span> * @param key the key used when selecting the object<a name="line.130"></a>
-<span class="sourceLineNo">131</span> * @param p a {@code PooledObject} wrapping the instance to be activated<a name="line.131"></a>
-<span class="sourceLineNo">132</span> *<a name="line.132"></a>
-<span class="sourceLineNo">133</span> * @throws Exception if there is a problem activating {@code obj},<a name="line.133"></a>
-<span class="sourceLineNo">134</span> * this exception may be swallowed by the pool.<a name="line.134"></a>
-<span class="sourceLineNo">135</span> *<a name="line.135"></a>
-<span class="sourceLineNo">136</span> * @see #destroyObject<a name="line.136"></a>
-<span class="sourceLineNo">137</span> */<a name="line.137"></a>
-<span class="sourceLineNo">138</span> void activateObject(K key, PooledObject<V> p) throws Exception;<a name="line.138"></a>
-<span class="sourceLineNo">139</span><a name="line.139"></a>
-<span class="sourceLineNo">140</span> /**<a name="line.140"></a>
-<span class="sourceLineNo">141</span> * Uninitialize an instance to be returned to the idle object pool.<a name="line.141"></a>
-<span class="sourceLineNo">142</span> *<a name="line.142"></a>
-<span class="sourceLineNo">143</span> * @param key the key used when selecting the object<a name="line.143"></a>
-<span class="sourceLineNo">144</span> * @param p a {@code PooledObject} wrapping the instance to be passivated<a name="line.144"></a>
-<span class="sourceLineNo">145</span> *<a name="line.145"></a>
-<span class="sourceLineNo">146</span> * @throws Exception if there is a problem passivating {@code obj},<a name="line.146"></a>
-<span class="sourceLineNo">147</span> * this exception may be swallowed by the pool.<a name="line.147"></a>
-<span class="sourceLineNo">148</span> *<a name="line.148"></a>
-<span class="sourceLineNo">149</span> * @see #destroyObject<a name="line.149"></a>
-<span class="sourceLineNo">150</span> */<a name="line.150"></a>
-<span class="sourceLineNo">151</span> void passivateObject(K key, PooledObject<V> p) throws Exception;<a name="line.151"></a>
-<span class="sourceLineNo">152</span>}<a name="line.152"></a>
-<span class="sourceLineNo">153</span><a name="line.153"></a>
+<span class="sourceLineNo">119</span> * @param key the key used when selecting the instance<a name="line.119"></a>
+<span class="sourceLineNo">120</span> * @param p a {@code PooledObject} wrapping the instance to be destroyed<a name="line.120"></a>
+<span class="sourceLineNo">121</span> * @param mode DestroyMode providing context to the factory<a name="line.121"></a>
+<span class="sourceLineNo">122</span> *<a name="line.122"></a>
+<span class="sourceLineNo">123</span> * @throws Exception should be avoided as it may be swallowed by<a name="line.123"></a>
+<span class="sourceLineNo">124</span> * the pool implementation.<a name="line.124"></a>
+<span class="sourceLineNo">125</span> *<a name="line.125"></a>
+<span class="sourceLineNo">126</span> * @see #validateObject<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * @see KeyedObjectPool#invalidateObject<a name="line.127"></a>
+<span class="sourceLineNo">128</span> * @see #destroyObject(Object, PooledObject)<a name="line.128"></a>
+<span class="sourceLineNo">129</span> * @see DestroyMode<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * @since 2.9.0<a name="line.130"></a>
+<span class="sourceLineNo">131</span> */<a name="line.131"></a>
+<span class="sourceLineNo">132</span> default void destroyObject(final K key, final PooledObject<V> p, final DestroyMode mode) throws Exception {<a name="line.132"></a>
+<span class="sourceLineNo">133</span> destroyObject(key, p);<a name="line.133"></a>
+<span class="sourceLineNo">134</span> }<a name="line.134"></a>
+<span class="sourceLineNo">135</span><a name="line.135"></a>
+<span class="sourceLineNo">136</span> /**<a name="line.136"></a>
+<span class="sourceLineNo">137</span> * Ensures that the instance is safe to be returned by the pool.<a name="line.137"></a>
+<span class="sourceLineNo">138</span> *<a name="line.138"></a>
+<span class="sourceLineNo">139</span> * @param key the key used when selecting the object<a name="line.139"></a>
+<span class="sourceLineNo">140</span> * @param p a {@code PooledObject} wrapping the instance to be validated<a name="line.140"></a>
+<span class="sourceLineNo">141</span> *<a name="line.141"></a>
+<span class="sourceLineNo">142</span> * @return {@code false} if {@code obj} is not valid and should<a name="line.142"></a>
+<span class="sourceLineNo">143</span> * be dropped from the pool, {@code true} otherwise.<a name="line.143"></a>
+<span class="sourceLineNo">144</span> */<a name="line.144"></a>
+<span class="sourceLineNo">145</span> boolean validateObject(K key, PooledObject<V> p);<a name="line.145"></a>
+<span class="sourceLineNo">146</span><a name="line.146"></a>
+<span class="sourceLineNo">147</span> /**<a name="line.147"></a>
+<span class="sourceLineNo">148</span> * Reinitialize an instance to be returned by the pool.<a name="line.148"></a>
+<span class="sourceLineNo">149</span> *<a name="line.149"></a>
+<span class="sourceLineNo">150</span> * @param key the key used when selecting the object<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * @param p a {@code PooledObject} wrapping the instance to be activated<a name="line.151"></a>
+<span class="sourceLineNo">152</span> *<a name="line.152"></a>
+<span class="sourceLineNo">153</span> * @throws Exception if there is a problem activating {@code obj},<a name="line.153"></a>
+<span class="sourceLineNo">154</span> * this exception may be swallowed by the pool.<a name="line.154"></a>
+<span class="sourceLineNo">155</span> *<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * @see #destroyObject<a name="line.156"></a>
+<span class="sourceLineNo">157</span> */<a name="line.157"></a>
+<span class="sourceLineNo">158</span> void activateObject(K key, PooledObject<V> p) throws Exception;<a name="line.158"></a>
+<span class="sourceLineNo">159</span><a name="line.159"></a>
+<span class="sourceLineNo">160</span> /**<a name="line.160"></a>
+<span class="sourceLineNo">161</span> * Uninitialize an instance to be returned to the idle object pool.<a name="line.161"></a>
+<span class="sourceLineNo">162</span> *<a name="line.162"></a>
+<span class="sourceLineNo">163</span> * @param key the key used when selecting the object<a name="line.163"></a>
+<span class="sourceLineNo">164</span> * @param p a {@code PooledObject} wrapping the instance to be passivated<a name="line.164"></a>
+<span class="sourceLineNo">165</span> *<a name="line.165"></a>
+<span class="sourceLineNo">166</span> * @throws Exception if there is a problem passivating {@code obj},<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * this exception may be swallowed by the pool.<a name="line.167"></a>
+<span class="sourceLineNo">168</span> *<a name="line.168"></a>
+<span class="sourceLineNo">169</span> * @see #destroyObject<a name="line.169"></a>
+<span class="sourceLineNo">170</span> */<a name="line.170"></a>
+<span class="sourceLineNo">171</span> void passivateObject(K key, PooledObject<V> p) throws Exception;<a name="line.171"></a>
+<span class="sourceLineNo">172</span>}<a name="line.172"></a>
+<span class="sourceLineNo">173</span><a name="line.173"></a>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/ObjectPool.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/ObjectPool.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/ObjectPool.html Tue Sep 29 15:33:18 2020
@@ -193,23 +193,47 @@
<span class="sourceLineNo">185</span> void invalidateObject(T obj) throws Exception;<a name="line.185"></a>
<span class="sourceLineNo">186</span><a name="line.186"></a>
<span class="sourceLineNo">187</span> /**<a name="line.187"></a>
-<span class="sourceLineNo">188</span> * Returns an instance to the pool. By contract, {@code obj}<a name="line.188"></a>
-<span class="sourceLineNo">189</span> * <strong>must</strong> have been obtained using {@link #borrowObject()} or<a name="line.189"></a>
-<span class="sourceLineNo">190</span> * a related method as defined in an implementation or sub-interface.<a name="line.190"></a>
-<span class="sourceLineNo">191</span> *<a name="line.191"></a>
-<span class="sourceLineNo">192</span> * @param obj a {@link #borrowObject borrowed} instance to be returned.<a name="line.192"></a>
-<span class="sourceLineNo">193</span> *<a name="line.193"></a>
-<span class="sourceLineNo">194</span> * @throws IllegalStateException<a name="line.194"></a>
-<span class="sourceLineNo">195</span> * if an attempt is made to return an object to the pool that<a name="line.195"></a>
-<span class="sourceLineNo">196</span> * is in any state other than allocated (i.e. borrowed).<a name="line.196"></a>
-<span class="sourceLineNo">197</span> * Attempting to return an object more than once or attempting<a name="line.197"></a>
-<span class="sourceLineNo">198</span> * to return an object that was never borrowed from the pool<a name="line.198"></a>
-<span class="sourceLineNo">199</span> * will trigger this exception.<a name="line.199"></a>
-<span class="sourceLineNo">200</span> *<a name="line.200"></a>
-<span class="sourceLineNo">201</span> * @throws Exception if an instance cannot be returned to the pool<a name="line.201"></a>
-<span class="sourceLineNo">202</span> */<a name="line.202"></a>
-<span class="sourceLineNo">203</span> void returnObject(T obj) throws Exception;<a name="line.203"></a>
-<span class="sourceLineNo">204</span>}<a name="line.204"></a>
+<span class="sourceLineNo">188</span> * Invalidates an object from the pool, using the provided<a name="line.188"></a>
+<span class="sourceLineNo">189</span> * {@link DestroyMode}<a name="line.189"></a>
+<span class="sourceLineNo">190</span> * <p><a name="line.190"></a>
+<span class="sourceLineNo">191</span> * By contract, {@code obj} <strong>must</strong> have been obtained<a name="line.191"></a>
+<span class="sourceLineNo">192</span> * using {@link #borrowObject} or a related method as defined in an<a name="line.192"></a>
+<span class="sourceLineNo">193</span> * implementation or sub-interface.<a name="line.193"></a>
+<span class="sourceLineNo">194</span> * </p><a name="line.194"></a>
+<span class="sourceLineNo">195</span> * <p><a name="line.195"></a>
+<span class="sourceLineNo">196</span> * This method should be used when an object that has been borrowed is<a name="line.196"></a>
+<span class="sourceLineNo">197</span> * determined (due to an exception or other problem) to be invalid.<a name="line.197"></a>
+<span class="sourceLineNo">198</span> * </p><a name="line.198"></a>
+<span class="sourceLineNo">199</span> *<a name="line.199"></a>
+<span class="sourceLineNo">200</span> * @param obj a {@link #borrowObject borrowed} instance to be disposed.<a name="line.200"></a>
+<span class="sourceLineNo">201</span> * @param mode destroy activation context provided to the factory<a name="line.201"></a>
+<span class="sourceLineNo">202</span> *<a name="line.202"></a>
+<span class="sourceLineNo">203</span> * @throws Exception if the instance cannot be invalidated<a name="line.203"></a>
+<span class="sourceLineNo">204</span> * @since 2.9.0<a name="line.204"></a>
+<span class="sourceLineNo">205</span> */<a name="line.205"></a>
+<span class="sourceLineNo">206</span> default void invalidateObject(final T obj, final DestroyMode mode) throws Exception {<a name="line.206"></a>
+<span class="sourceLineNo">207</span> invalidateObject(obj);<a name="line.207"></a>
+<span class="sourceLineNo">208</span> }<a name="line.208"></a>
+<span class="sourceLineNo">209</span><a name="line.209"></a>
+<span class="sourceLineNo">210</span> /**<a name="line.210"></a>
+<span class="sourceLineNo">211</span> * Returns an instance to the pool. By contract, {@code obj}<a name="line.211"></a>
+<span class="sourceLineNo">212</span> * <strong>must</strong> have been obtained using {@link #borrowObject()} or<a name="line.212"></a>
+<span class="sourceLineNo">213</span> * a related method as defined in an implementation or sub-interface.<a name="line.213"></a>
+<span class="sourceLineNo">214</span> *<a name="line.214"></a>
+<span class="sourceLineNo">215</span> * @param obj a {@link #borrowObject borrowed} instance to be returned.<a name="line.215"></a>
+<span class="sourceLineNo">216</span> *<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * @throws IllegalStateException<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * if an attempt is made to return an object to the pool that<a name="line.218"></a>
+<span class="sourceLineNo">219</span> * is in any state other than allocated (i.e. borrowed).<a name="line.219"></a>
+<span class="sourceLineNo">220</span> * Attempting to return an object more than once or attempting<a name="line.220"></a>
+<span class="sourceLineNo">221</span> * to return an object that was never borrowed from the pool<a name="line.221"></a>
+<span class="sourceLineNo">222</span> * will trigger this exception.<a name="line.222"></a>
+<span class="sourceLineNo">223</span> *<a name="line.223"></a>
+<span class="sourceLineNo">224</span> * @throws Exception if an instance cannot be returned to the pool<a name="line.224"></a>
+<span class="sourceLineNo">225</span> */<a name="line.225"></a>
+<span class="sourceLineNo">226</span> void returnObject(T obj) throws Exception;<a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span>}<a name="line.228"></a>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/PoolUtils.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/PoolUtils.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/PoolUtils.html Tue Sep 29 15:33:18 2020
@@ -1844,13 +1844,14 @@
<span class="sourceLineNo">1836</span> /**<a name="line.1836"></a>
<span class="sourceLineNo">1837</span> * {@inheritDoc}<a name="line.1837"></a>
<span class="sourceLineNo">1838</span> */<a name="line.1838"></a>
-<span class="sourceLineNo">1839</span> @Override<a name="line.1839"></a>
-<span class="sourceLineNo">1840</span> public String toString() {<a name="line.1840"></a>
-<span class="sourceLineNo">1841</span> return "ErodingPerKeyKeyedObjectPool{" + "factor=" + factor +<a name="line.1841"></a>
-<span class="sourceLineNo">1842</span> ", keyedPool=" + getKeyedPool() + '}';<a name="line.1842"></a>
-<span class="sourceLineNo">1843</span> }<a name="line.1843"></a>
-<span class="sourceLineNo">1844</span> }<a name="line.1844"></a>
-<span class="sourceLineNo">1845</span>}<a name="line.1845"></a>
+<span class="sourceLineNo">1839</span> @SuppressWarnings("resource") // getKeyedPool(): ivar access<a name="line.1839"></a>
+<span class="sourceLineNo">1840</span> @Override<a name="line.1840"></a>
+<span class="sourceLineNo">1841</span> public String toString() {<a name="line.1841"></a>
+<span class="sourceLineNo">1842</span> return "ErodingPerKeyKeyedObjectPool{" + "factor=" + factor +<a name="line.1842"></a>
+<span class="sourceLineNo">1843</span> ", keyedPool=" + getKeyedPool() + '}';<a name="line.1843"></a>
+<span class="sourceLineNo">1844</span> }<a name="line.1844"></a>
+<span class="sourceLineNo">1845</span> }<a name="line.1845"></a>
+<span class="sourceLineNo">1846</span>}<a name="line.1846"></a>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/PooledObjectFactory.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/PooledObjectFactory.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/PooledObjectFactory.html Tue Sep 29 15:33:18 2020
@@ -92,61 +92,82 @@
<span class="sourceLineNo">084</span> PooledObject<T> makeObject() throws Exception;<a name="line.84"></a>
<span class="sourceLineNo">085</span><a name="line.85"></a>
<span class="sourceLineNo">086</span> /**<a name="line.86"></a>
-<span class="sourceLineNo">087</span> * Destroys an instance no longer needed by the pool.<a name="line.87"></a>
-<span class="sourceLineNo">088</span> * <p><a name="line.88"></a>
-<span class="sourceLineNo">089</span> * It is important for implementations of this method to be aware that there<a name="line.89"></a>
-<span class="sourceLineNo">090</span> * is no guarantee about what state {@code obj} will be in and the<a name="line.90"></a>
-<span class="sourceLineNo">091</span> * implementation should be prepared to handle unexpected errors.<a name="line.91"></a>
-<span class="sourceLineNo">092</span> * </p><a name="line.92"></a>
-<span class="sourceLineNo">093</span> * <p><a name="line.93"></a>
-<span class="sourceLineNo">094</span> * Also, an implementation must take in to consideration that instances lost<a name="line.94"></a>
-<span class="sourceLineNo">095</span> * to the garbage collector may never be destroyed.<a name="line.95"></a>
-<span class="sourceLineNo">096</span> * </p><a name="line.96"></a>
-<span class="sourceLineNo">097</span> *<a name="line.97"></a>
-<span class="sourceLineNo">098</span> * @param p a {@code PooledObject} wrapping the instance to be destroyed<a name="line.98"></a>
-<span class="sourceLineNo">099</span> *<a name="line.99"></a>
-<span class="sourceLineNo">100</span> * @throws Exception should be avoided as it may be swallowed by<a name="line.100"></a>
-<span class="sourceLineNo">101</span> * the pool implementation.<a name="line.101"></a>
-<span class="sourceLineNo">102</span> *<a name="line.102"></a>
-<span class="sourceLineNo">103</span> * @see #validateObject<a name="line.103"></a>
-<span class="sourceLineNo">104</span> * @see ObjectPool#invalidateObject<a name="line.104"></a>
-<span class="sourceLineNo">105</span> */<a name="line.105"></a>
-<span class="sourceLineNo">106</span> void destroyObject(PooledObject<T> p) throws Exception;<a name="line.106"></a>
-<span class="sourceLineNo">107</span><a name="line.107"></a>
-<span class="sourceLineNo">108</span> /**<a name="line.108"></a>
-<span class="sourceLineNo">109</span> * Ensures that the instance is safe to be returned by the pool.<a name="line.109"></a>
-<span class="sourceLineNo">110</span> *<a name="line.110"></a>
-<span class="sourceLineNo">111</span> * @param p a {@code PooledObject} wrapping the instance to be validated<a name="line.111"></a>
+<span class="sourceLineNo">087</span> * Destroys an instance no longer needed by the pool, using the default (NORMAL)<a name="line.87"></a>
+<span class="sourceLineNo">088</span> * DestroyMode.<a name="line.88"></a>
+<span class="sourceLineNo">089</span> * <p><a name="line.89"></a>
+<span class="sourceLineNo">090</span> * It is important for implementations of this method to be aware that there<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * is no guarantee about what state {@code obj} will be in and the<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * implementation should be prepared to handle unexpected errors.<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * </p><a name="line.93"></a>
+<span class="sourceLineNo">094</span> * <p><a name="line.94"></a>
+<span class="sourceLineNo">095</span> * Also, an implementation must take in to consideration that instances lost<a name="line.95"></a>
+<span class="sourceLineNo">096</span> * to the garbage collector may never be destroyed.<a name="line.96"></a>
+<span class="sourceLineNo">097</span> * </p><a name="line.97"></a>
+<span class="sourceLineNo">098</span> *<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * @param p a {@code PooledObject} wrapping the instance to be destroyed<a name="line.99"></a>
+<span class="sourceLineNo">100</span> *<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * @throws Exception should be avoided as it may be swallowed by<a name="line.101"></a>
+<span class="sourceLineNo">102</span> * the pool implementation.<a name="line.102"></a>
+<span class="sourceLineNo">103</span> *<a name="line.103"></a>
+<span class="sourceLineNo">104</span> * @see #validateObject<a name="line.104"></a>
+<span class="sourceLineNo">105</span> * @see ObjectPool#invalidateObject<a name="line.105"></a>
+<span class="sourceLineNo">106</span> */<a name="line.106"></a>
+<span class="sourceLineNo">107</span> void destroyObject(PooledObject<T> p) throws Exception;<a name="line.107"></a>
+<span class="sourceLineNo">108</span><a name="line.108"></a>
+<span class="sourceLineNo">109</span> /**<a name="line.109"></a>
+<span class="sourceLineNo">110</span> * Destroys an instance no longer needed by the pool, using the provided<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * DestroyMode.<a name="line.111"></a>
<span class="sourceLineNo">112</span> *<a name="line.112"></a>
-<span class="sourceLineNo">113</span> * @return {@code false} if {@code obj} is not valid and should<a name="line.113"></a>
-<span class="sourceLineNo">114</span> * be dropped from the pool, {@code true} otherwise.<a name="line.114"></a>
-<span class="sourceLineNo">115</span> */<a name="line.115"></a>
-<span class="sourceLineNo">116</span> boolean validateObject(PooledObject<T> p);<a name="line.116"></a>
-<span class="sourceLineNo">117</span><a name="line.117"></a>
-<span class="sourceLineNo">118</span> /**<a name="line.118"></a>
-<span class="sourceLineNo">119</span> * Reinitializes an instance to be returned by the pool.<a name="line.119"></a>
-<span class="sourceLineNo">120</span> *<a name="line.120"></a>
-<span class="sourceLineNo">121</span> * @param p a {@code PooledObject} wrapping the instance to be activated<a name="line.121"></a>
-<span class="sourceLineNo">122</span> *<a name="line.122"></a>
-<span class="sourceLineNo">123</span> * @throws Exception if there is a problem activating {@code obj},<a name="line.123"></a>
-<span class="sourceLineNo">124</span> * this exception may be swallowed by the pool.<a name="line.124"></a>
-<span class="sourceLineNo">125</span> *<a name="line.125"></a>
-<span class="sourceLineNo">126</span> * @see #destroyObject<a name="line.126"></a>
-<span class="sourceLineNo">127</span> */<a name="line.127"></a>
-<span class="sourceLineNo">128</span> void activateObject(PooledObject<T> p) throws Exception;<a name="line.128"></a>
-<span class="sourceLineNo">129</span><a name="line.129"></a>
-<span class="sourceLineNo">130</span> /**<a name="line.130"></a>
-<span class="sourceLineNo">131</span> * Uninitializes an instance to be returned to the idle object pool.<a name="line.131"></a>
-<span class="sourceLineNo">132</span> *<a name="line.132"></a>
-<span class="sourceLineNo">133</span> * @param p a {@code PooledObject} wrapping the instance to be passivated<a name="line.133"></a>
-<span class="sourceLineNo">134</span> *<a name="line.134"></a>
-<span class="sourceLineNo">135</span> * @throws Exception if there is a problem passivating {@code obj},<a name="line.135"></a>
-<span class="sourceLineNo">136</span> * this exception may be swallowed by the pool.<a name="line.136"></a>
-<span class="sourceLineNo">137</span> *<a name="line.137"></a>
-<span class="sourceLineNo">138</span> * @see #destroyObject<a name="line.138"></a>
-<span class="sourceLineNo">139</span> */<a name="line.139"></a>
-<span class="sourceLineNo">140</span> void passivateObject(PooledObject<T> p) throws Exception;<a name="line.140"></a>
-<span class="sourceLineNo">141</span>}<a name="line.141"></a>
+<span class="sourceLineNo">113</span> * @param p a {@code PooledObject} wrapping the instance to be destroyed<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * @param mode DestroyMode providing context to the factory<a name="line.114"></a>
+<span class="sourceLineNo">115</span> *<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * @throws Exception should be avoided as it may be swallowed by<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * the pool implementation.<a name="line.117"></a>
+<span class="sourceLineNo">118</span> *<a name="line.118"></a>
+<span class="sourceLineNo">119</span> * @see #validateObject<a name="line.119"></a>
+<span class="sourceLineNo">120</span> * @see ObjectPool#invalidateObject<a name="line.120"></a>
+<span class="sourceLineNo">121</span> * @see #destroyObject(PooledObject)<a name="line.121"></a>
+<span class="sourceLineNo">122</span> * @see DestroyMode<a name="line.122"></a>
+<span class="sourceLineNo">123</span> * @since 2.9.0<a name="line.123"></a>
+<span class="sourceLineNo">124</span> */<a name="line.124"></a>
+<span class="sourceLineNo">125</span> default void destroyObject(final PooledObject<T> p, final DestroyMode mode) throws Exception {<a name="line.125"></a>
+<span class="sourceLineNo">126</span> destroyObject(p);<a name="line.126"></a>
+<span class="sourceLineNo">127</span> }<a name="line.127"></a>
+<span class="sourceLineNo">128</span><a name="line.128"></a>
+<span class="sourceLineNo">129</span> /**<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * Ensures that the instance is safe to be returned by the pool.<a name="line.130"></a>
+<span class="sourceLineNo">131</span> *<a name="line.131"></a>
+<span class="sourceLineNo">132</span> * @param p a {@code PooledObject} wrapping the instance to be validated<a name="line.132"></a>
+<span class="sourceLineNo">133</span> *<a name="line.133"></a>
+<span class="sourceLineNo">134</span> * @return {@code false} if {@code obj} is not valid and should<a name="line.134"></a>
+<span class="sourceLineNo">135</span> * be dropped from the pool, {@code true} otherwise.<a name="line.135"></a>
+<span class="sourceLineNo">136</span> */<a name="line.136"></a>
+<span class="sourceLineNo">137</span> boolean validateObject(PooledObject<T> p);<a name="line.137"></a>
+<span class="sourceLineNo">138</span><a name="line.138"></a>
+<span class="sourceLineNo">139</span> /**<a name="line.139"></a>
+<span class="sourceLineNo">140</span> * Reinitializes an instance to be returned by the pool.<a name="line.140"></a>
+<span class="sourceLineNo">141</span> *<a name="line.141"></a>
+<span class="sourceLineNo">142</span> * @param p a {@code PooledObject} wrapping the instance to be activated<a name="line.142"></a>
+<span class="sourceLineNo">143</span> *<a name="line.143"></a>
+<span class="sourceLineNo">144</span> * @throws Exception if there is a problem activating {@code obj},<a name="line.144"></a>
+<span class="sourceLineNo">145</span> * this exception may be swallowed by the pool.<a name="line.145"></a>
+<span class="sourceLineNo">146</span> *<a name="line.146"></a>
+<span class="sourceLineNo">147</span> * @see #destroyObject<a name="line.147"></a>
+<span class="sourceLineNo">148</span> */<a name="line.148"></a>
+<span class="sourceLineNo">149</span> void activateObject(PooledObject<T> p) throws Exception;<a name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span> /**<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * Uninitializes an instance to be returned to the idle object pool.<a name="line.152"></a>
+<span class="sourceLineNo">153</span> *<a name="line.153"></a>
+<span class="sourceLineNo">154</span> * @param p a {@code PooledObject} wrapping the instance to be passivated<a name="line.154"></a>
+<span class="sourceLineNo">155</span> *<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * @throws Exception if there is a problem passivating {@code obj},<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * this exception may be swallowed by the pool.<a name="line.157"></a>
+<span class="sourceLineNo">158</span> *<a name="line.158"></a>
+<span class="sourceLineNo">159</span> * @see #destroyObject<a name="line.159"></a>
+<span class="sourceLineNo">160</span> */<a name="line.160"></a>
+<span class="sourceLineNo">161</span> void passivateObject(PooledObject<T> p) throws Exception;<a name="line.161"></a>
+<span class="sourceLineNo">162</span>}<a name="line.162"></a>
Modified: websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html (original)
+++ websites/production/commons/content/proper/commons-pool/apidocs/src-html/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html Tue Sep 29 15:33:18 2020
@@ -65,7 +65,7 @@
<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
<span class="sourceLineNo">058</span> * Obtain the time that pooled object was last borrowed.<a name="line.58"></a>
<span class="sourceLineNo">059</span> *<a name="line.59"></a>
-<span class="sourceLineNo">060</span> * @return The last borrowed time for the pooled object formated as<a name="line.60"></a>
+<span class="sourceLineNo">060</span> * @return The last borrowed time for the pooled object formatted as<a name="line.60"></a>
<span class="sourceLineNo">061</span> * {@code yyyy-MM-dd HH:mm:ss Z}<a name="line.61"></a>
<span class="sourceLineNo">062</span> */<a name="line.62"></a>
<span class="sourceLineNo">063</span> String getLastBorrowTimeFormatted();<a name="line.63"></a>
@@ -90,7 +90,7 @@
<span class="sourceLineNo">082</span> /**<a name="line.82"></a>
<span class="sourceLineNo">083</span> * Obtain the time that pooled object was last returned.<a name="line.83"></a>
<span class="sourceLineNo">084</span> *<a name="line.84"></a>
-<span class="sourceLineNo">085</span> * @return The last returned time for the pooled object formated as<a name="line.85"></a>
+<span class="sourceLineNo">085</span> * @return The last returned time for the pooled object formatted as<a name="line.85"></a>
<span class="sourceLineNo">086</span> * {@code yyyy-MM-dd HH:mm:ss Z}<a name="line.86"></a>
<span class="sourceLineNo">087</span> */<a name="line.87"></a>
<span class="sourceLineNo">088</span> String getLastReturnTimeFormatted();<a name="line.88"></a>