From: markt Date: Wed, 8 Sep 2010 15:31:27 +0000 (+0000) Subject: Document new validation class (https://issues.apache.org/bugzilla/show_bug.cgi?id... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c49d842ed2f31de8fc7020af6f837715e40147fc;p=tomcat7.0 Document new validation class (https://issues.apache.org/bugzilla/show_bug.cgi?id=48817) Patch provided by Matt Passell. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@995095 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/jdbc-pool/doc/jdbc-pool.xml b/modules/jdbc-pool/doc/jdbc-pool.xml index acbd41bb2..3b2b65d24 100644 --- a/modules/jdbc-pool/doc/jdbc-pool.xml +++ b/modules/jdbc-pool/doc/jdbc-pool.xml @@ -266,6 +266,17 @@

+ +

(String) The name of a class which implements the + org.apache.tomcat.jdbc.pool.Validator interface and + provides a no-arg constructor (may be implicit). If specified, the + class will be used to create a Validator instance which is then used + instead of any validation query to validate connections. The default + value is null. An example value is + com.mycompany.project.SimpleValidator. +

+
+

(int) The number of milliseconds to sleep between runs of the idle connection validation/cleaner thread. This value should not be set under 1 second. It dictates how often we check for idle, abandoned connections, and how often