Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47792
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 15 Sep 2009 09:21:15 +0000 (09:21 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 15 Sep 2009 09:21:15 +0000 (09:21 +0000)
Some parameters documented as longs, are actually ints
Patch provided by Phil Steitz

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@815227 13f79535-47bb-0310-9956-ffa450edef68

modules/jdbc-pool/doc/jdbc-pool.xml

index 45821c6..8c76a9a 100644 (file)
     </attribute>
 
     <attribute name="maxWait" required="false">
-      <p>(long) The maximum number of milliseconds that the pool will wait (when there are no available connections) 
+      <p>(int) The maximum number of milliseconds that the pool will wait (when there are no available connections) 
          for a connection to be returned before throwing an exception. 
          Default value is <code>30000</code> (30 seconds)</p>
     </attribute>
     </attribute>
     
     <attribute name="timeBetweenEvictionRunsMillis" required="false">
-      <p>(long) The number of milliseconds to sleep between runs of the idle connection validation/cleaner thread. 
+      <p>(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 
          we validate idle connections.
          The default value is <code>5000</code> (5 seconds).</p>
     </attribute>
 
     <attribute name="minEvictableIdleTimeMillis" required="false">
-      <p>(long) The minimum amount of time an object may sit idle in the pool before it is eligable for eviction. 
+      <p>(int) The minimum amount of time an object may sit idle in the pool before it is eligible for eviction. 
          The default value is <code>60000</code> (60 seconds).</p>
     </attribute>
 
     </attribute>
 
     <attribute name="removeAbandonedTimeout" required="false">
-      <p>(long) Timeout in seconds before an abandoned(in use) connection can be removed. 
+      <p>(int) Timeout in seconds before an abandoned(in use) connection can be removed. 
          The default value is <code>60</code> (60 seconds). The value should be set to the longest running query your applications 
          might have.</p>
     </attribute>