Author: markt Date: Thu Jul 25 09:22:11 2013 New Revision: 1506858 URL: http://svn.apache.org/r1506858 Log: DBCP-156 Document new option
Modified: commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml Modified: commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml?rev=1506858&r1=1506857&r2=1506858&view=diff ============================================================================== --- commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml (original) +++ commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml Thu Jul 25 09:22:11 2013 @@ -266,26 +266,36 @@ one row. (without considering the number of idle connections in the pool) and then against softMinEvictableIdleTimeMillis, including the minIdle constraint. </td> - </tr> - <tr> - <td>connectionInitSqls</td> - <td>null</td> - <td> - A Collection of SQL statements that will be used to initialize physical - connections when they are first created. These statements are executed - only once - when the configured connection factory creates the connection. - </td> - </tr> - <tr> - <td>lifo</td> - <td>true</td> - <td> - True means that borrowObject returns the most recently used ("last in") - connection in the pool (if there are idle connections available). False - means that the pool behaves as a FIFO queue - connections are taken from - the idle instance pool in the order that they are returned to the pool. - </td> - </tr> +</tr> +<tr> + <td>maxConnLifetimeMillis</td> + <td>-1</td> + <td> + The maximum lifetime in milliseconds of a connection. After this time is + exceeded the connection will fail the next activation, passivation or + validation test. A value of zero or less means the connection has an + infinite lifetime. + </td> +</tr> +<tr> + <td>connectionInitSqls</td> + <td>null</td> + <td> + A Collection of SQL statements that will be used to initialize physical + connections when they are first created. These statements are executed + only once - when the configured connection factory creates the connection. + </td> +</tr> +<tr> + <td>lifo</td> + <td>true</td> + <td> + True means that borrowObject returns the most recently used ("last in") + connection in the pool (if there are idle connections available). False + means that the pool behaves as a FIFO queue - connections are taken from + the idle instance pool in the order that they are returned to the pool. + </td> +</tr> </table> <table>