Skip to content

Commit b04c022

Browse files
authored
Javadoc
1 parent 9ab905a commit b04c022

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,8 @@ public boolean getMessageStatistics() {
838838

839839
/**
840840
* Gets whether detailed timing statistics collection is enabled.
841-
* When {@code false}, the pool will not collect detailed timing statistics
842-
* such as mean active time, mean idle time, and mean borrow wait time,
841+
* When {@code false}, the pool will not collect detailed timing statistics for
842+
* mean active time, mean idle time, and mean borrow wait time,
843843
* improving performance under high load.
844844
*
845845
* @return {@code true} if detailed statistics collection is enabled,
@@ -1475,7 +1475,9 @@ public void setMessagesStatistics(final boolean messagesDetails) {
14751475
* Sets whether detailed timing statistics collection is enabled.
14761476
* When {@code false}, the pool will not collect detailed timing statistics,
14771477
* improving performance under high load at the cost of reduced monitoring capabilities.
1478-
* This setting does not affect basic counters like borrowedCount, createdCount, etc.
1478+
* <p>
1479+
* This setting affects data collection for mean active time, mean idle time, and mean borrow wait time.
1480+
* </p>
14791481
*
14801482
* @param collectDetailedStatistics whether to collect detailed statistics.
14811483
* @since 2.13.0

0 commit comments

Comments
 (0)