Skip to content

Commit 5dad1a8

Browse files
authored
Add Javadoc @SInCE 2.13.0
1 parent 4d828f8 commit 5dad1a8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/main/java/org/apache/commons/pool3/impl/BaseObjectPoolConfig.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ public abstract class BaseObjectPoolConfig<T> extends BaseObject implements Clon
171171
* attribute. When {@code true}, the pool will collect detailed timing statistics
172172
* for monitoring purposes. When {@code false}, detailed statistics collection
173173
* is disabled, improving performance under high load.
174+
*
175+
* @since 2.13.0
174176
*/
175177
public static final boolean DEFAULT_COLLECT_DETAILED_STATISTICS = true;
176178

@@ -239,10 +241,11 @@ public boolean getBlockWhenExhausted() {
239241
* for pools created with this configuration instance.
240242
*
241243
* @return {@code true} if detailed statistics collection is enabled,
242-
* {@code false} if disabled for improved performance
244+
* {@code false} if disabled for improved performance.
243245
*
244246
* @see GenericObjectPool#getCollectDetailedStatistics()
245247
* @see GenericKeyedObjectPool#getCollectDetailedStatistics()
248+
* @since 2.13.0
246249
*/
247250
public boolean getCollectDetailedStatistics() {
248251
return collectDetailedStatistics;
@@ -509,10 +512,11 @@ public void setBlockWhenExhausted(final boolean blockWhenExhausted) {
509512
* at the cost of reduced monitoring capabilities.
510513
*
511514
* @param collectDetailedStatistics The new setting of {@code collectDetailedStatistics}
512-
* for this configuration instance
515+
* for this configuration instance.
513516
*
514517
* @see GenericObjectPool#getCollectDetailedStatistics()
515518
* @see GenericKeyedObjectPool#getCollectDetailedStatistics()
519+
* @since 2.13.0
516520
*/
517521
public void setCollectDetailedStatistics(final boolean collectDetailedStatistics) {
518522
this.collectDetailedStatistics = collectDetailedStatistics;

0 commit comments

Comments
 (0)