comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ArcSDEConnectionPool.java @ 885:1c3efbd2fc5a

Removes trailing whitespace. geo-backend/trunk@850 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 07:49:16 +0000
parents ff1b7967e6b9
children 8b442223741c
comparison
equal deleted inserted replaced
884:12f88239fb33 885:1c3efbd2fc5a
10 import de.intevation.gnv.geobackend.base.connectionpool.ConnectionPool; 10 import de.intevation.gnv.geobackend.base.connectionpool.ConnectionPool;
11 import de.intevation.gnv.geobackend.base.connectionpool.exception.ConnectionException; 11 import de.intevation.gnv.geobackend.base.connectionpool.exception.ConnectionException;
12 12
13 /** 13 /**
14 *This is the ArcSDE specific implementation of the Interface ConnectionPool 14 *This is the ArcSDE specific implementation of the Interface ConnectionPool
15 * 15 *
16 * @author Tim Englich <tim.englich@intevation.de> 16 * @author Tim Englich <tim.englich@intevation.de>
17 */ 17 */
18 public class ArcSDEConnectionPool implements ConnectionPool { 18 public class ArcSDEConnectionPool implements ConnectionPool {
19 19
20 /** 20 /**
101 "" 101 ""
102 + GenericObjectPool.DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS)); 102 + GenericObjectPool.DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS));
103 boolean testWhileIdle = Boolean.parseBoolean(properties 103 boolean testWhileIdle = Boolean.parseBoolean(properties
104 .getProperty("testWhileIdle", 104 .getProperty("testWhileIdle",
105 "" + GenericObjectPool.DEFAULT_TEST_WHILE_IDLE)); 105 "" + GenericObjectPool.DEFAULT_TEST_WHILE_IDLE));
106 106
107 log.info("Maximum Number of active Connections: " + maxActive); 107 log.info("Maximum Number of active Connections: " + maxActive);
108 log.info("Maximum Number of waiting: " + maxWait); 108 log.info("Maximum Number of waiting: " + maxWait);
109 log.info("Maximum Number of idle: " + maxIdle); 109 log.info("Maximum Number of idle: " + maxIdle);
110 log.info("Minimum Number of idle: " + minIdle); 110 log.info("Minimum Number of idle: " + minIdle);
111 log.info("TestOnBorrow: " + testOnBorrow); 111 log.info("TestOnBorrow: " + testOnBorrow);
112 log.info("TestOnReturn: " + testOnReturn); 112 log.info("TestOnReturn: " + testOnReturn);
113 log.info("TimeBetweenEvictionRunsMillis: " + timeBetweenEvictionRunsMillis); 113 log.info("TimeBetweenEvictionRunsMillis: " + timeBetweenEvictionRunsMillis);
114 log.info("NumTestsPerEvictionRun: " + numTestsPerEvictionRun); 114 log.info("NumTestsPerEvictionRun: " + numTestsPerEvictionRun);
115 log.info("MinEvictableIdleTimeMillis: " + minEvictableIdleTimeMillis); 115 log.info("MinEvictableIdleTimeMillis: " + minEvictableIdleTimeMillis);
116 log.info("TestWhileIdle: " + testWhileIdle); 116 log.info("TestWhileIdle: " + testWhileIdle);
117 117
118 this.pool = new GenericObjectPool(poolableObjectFactory, maxActive, 118 this.pool = new GenericObjectPool(poolableObjectFactory, maxActive,
119 GenericObjectPool.DEFAULT_WHEN_EXHAUSTED_ACTION, maxWait, 119 GenericObjectPool.DEFAULT_WHEN_EXHAUSTED_ACTION, maxWait,
120 maxIdle, minIdle, testOnBorrow, testOnReturn, 120 maxIdle, minIdle, testOnBorrow, testOnReturn,
121 timeBetweenEvictionRunsMillis, numTestsPerEvictionRun, 121 timeBetweenEvictionRunsMillis, numTestsPerEvictionRun,
122 minEvictableIdleTimeMillis, testWhileIdle); 122 minEvictableIdleTimeMillis, testWhileIdle);

http://dive4elements.wald.intevation.org