Skip to content

Commit d0531c6

Browse files
authored
Javadoc
1 parent b04c022 commit d0531c6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ 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+
* <p>
175+
* This setting affects data collection for mean active time, mean idle time, and mean borrow wait time.
176+
* </p>
174177
*
175178
* @since 2.13.0
176179
*/
@@ -239,10 +242,12 @@ public boolean getBlockWhenExhausted() {
239242
/**
240243
* Gets the value for the {@code collectDetailedStatistics} configuration attribute
241244
* for pools created with this configuration instance.
245+
* <p>
246+
* This setting affects data collection for mean active time, mean idle time, and mean borrow wait time.
247+
* </p>
242248
*
243249
* @return {@code true} if detailed statistics collection is enabled,
244250
* {@code false} if disabled for improved performance.
245-
*
246251
* @see GenericObjectPool#getCollectDetailedStatistics()
247252
* @see GenericKeyedObjectPool#getCollectDetailedStatistics()
248253
* @since 2.13.0
@@ -510,6 +515,9 @@ public void setBlockWhenExhausted(final boolean blockWhenExhausted) {
510515
* for pools created with this configuration instance. When {@code false}, the pool
511516
* will not collect detailed timing statistics, improving performance under high load
512517
* at the cost of reduced monitoring capabilities.
518+
* <p>
519+
* This setting affects data collection for mean active time, mean idle time, and mean borrow wait time.
520+
* </p>
513521
*
514522
* @param collectDetailedStatistics The new setting of {@code collectDetailedStatistics}
515523
* for this configuration instance.

0 commit comments

Comments
 (0)