Bug 60139

Summary: Incorrect javadoc on PoolConfiguration.setValidationInterval
Product: Tomcat 8 Reporter: Phillip Webb <pwebb>
Component: DocumentationAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal CC: awilkinson
Priority: P2    
Version: 8.5.x-trunk   
Target Milestone: ----   
Hardware: PC   
OS: Mac OS X 10.1   

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. ***