comparison geo-backend/ChangeLog @ 553:5b536542ef56

Another attempt to fix gnv/issue34. Implemented an internal idle time checking. geo-backend/trunk@619 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 25 Jan 2010 12:12:31 +0000
parents 7615ee5d1345
children 0ee3c0ed40e4
comparison
equal deleted inserted replaced
552:7615ee5d1345 553:5b536542ef56
1 2009-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 Another attempt to fix gnv/issue34
4
5 * src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java:
6 Add a toString() method.
7
8 * src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnection.java:
9 Added an idle time detection mechanism. You can call touch() on
10 a connection to refresh the internal timestamp and ask with isActive()
11 if a constructor given time interval in milliseconds is exceeded.
12
13 * src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ArcSDEPoolableObjectFactory.java:
14 Added a check of inactivity to validateObject() before relying on SDE logic.
15 This is the last line of defence if the testServer() call is going not to respond.
16 This duplicates the eviction policy of Apache Commons pool a bit but I found
17 this way to be more trustworthy.
18
19 The idle time is configure with the property 'serverInactiveInterval'.
20 units: seconds. Defaults to 5 minutes.
21
22 The unit of 'serverRoundtripInterval' (parameter of testServer()) is now
23 in seconds, too. Default: 5 seconds. This is the value used in GeoTools.
24
1 2009-01-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> 25 2009-01-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 26
3 * src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEQuery.java, 27 * src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEQuery.java,
4 src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java, 28 src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java,
5 src/main/java/de/intevation/gnv/geobackend/sde/datasources/RasterObject.java: 29 src/main/java/de/intevation/gnv/geobackend/sde/datasources/RasterObject.java:

http://dive4elements.wald.intevation.org