Bug 60139 - Incorrect javadoc on PoolConfiguration.setValidationInterval
Summary: Incorrect javadoc on PoolConfiguration.setValidationInterval
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 8.5.x-trunk
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
: 60132 (view as bug list)
Depends on:
Reported: 2016-09-14 23:43 UTC by Phillip Webb
Modified: 2016-09-15 09:59 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Phillip Webb 2016-09-14 23:43:54 UTC
Issue https://bz.apache.org/bugzilla/show_bug.cgi?id=59923 updated the default validationInterval, however, the Javadoc on PoolConfiguration was not updated:

     * avoid excess validation, only run validation at most at this frequency - time in milliseconds.
     * If a connection is due for validation, but has been validated previously
     * within this interval, it will not be validated again.
     * The default value is 30000 (30 seconds).
     * @param validationInterval the validation interval in milliseconds
    public void setValidationInterval(long validationInterval);
Comment 1 Keiichi Fujino 2016-09-15 07:24:27 UTC
Thanks for the report.
The fix will be in :
- 9.0.x for 9.0.0.M11 onwards
- 8.5.x for 8.5.6 onwards
- 8.0.x for 8.0.38 onwards
- 7.0.x for 7.0.73 onwards
Comment 2 Violeta Georgieva 2016-09-15 09:59:15 UTC
*** Bug 60132 has been marked as a duplicate of this bug. ***