[Proxool-cvs] proxool/src/java/org/logicalcobwebs/proxool/resources attributeDescriptions.properties
UNMAINTAINED!
Brought to you by:
billhorsman
From: <ch...@us...> - 2003-10-25 08:27:20
|
Update of /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/resources In directory sc8-pr-cvs1:/tmp/cvs-serv6198 Modified Files: attributeDescriptions.properties Log Message: Added descriptions for test-before/after-use properties. Index: attributeDescriptions.properties =================================================================== RCS file: /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/resources/attributeDescriptions.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** attributeDescriptions.properties 30 Sep 2003 18:38:17 -0000 1.4 --- attributeDescriptions.properties 23 Oct 2003 23:18:17 -0000 1.5 *************** *** 33,38 **** If not defined then this test is omitted. - test-before-use - maximum-active-time=\ If the housekeeper comes across a thread that has been active for longer than \ --- 33,36 ---- *************** *** 99,100 **** --- 97,108 ---- Whether statistics are logged as they are produced. \ Range: DEBUG, INFO, WARN, ERROR, FATAL. Default is null (no logging). + + test-after-use=\ + If you set this to true then each connection is tested (with whatever is defined in \ + house-keeping-test-sql) after it is closed (that is, returned to the connection pool). \ + If a connection fails then it is discarded. + + test-before-use=\ + If you set this to true then each connection is tested (with whatever is defined in house-keeping-test-sql) \ + before being served. If a connection fails then it is discarded and another one is picked. If all \ + connections fail a new one is built. If that one fails then you get an SQLException saying so. \ No newline at end of file |