comparison gnv-artifacts/ChangeLog @ 775:eedad2ddad14

Removed race-condition while shapefile creation (issue164). gnv-artifacts/trunk@841 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 26 Mar 2010 15:20:32 +0000
parents d0a39efbfd96
children 8009961db1cb
comparison
equal deleted inserted replaced
774:d0a39efbfd96 775:eedad2ddad14
1 2010-03-26 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 Issue164
4
5 * src/main/java/de/intevation/gnv/utils/ExclusiveExec.java: New. This class
6 can be used to synchronize threads with a given key. To use this
7 synchronization, you just have to do something like the following:
8 UniqueKey token = ExclusiveExec.INSTANCE.acquire(key);
9 // your code to be synchronized
10 ExclusiveExec.INSTANCE.release(token);
11 A thread needs to wait if there is already a thread with the given key
12 which has acquired a token. Threads with a different key don't need to
13 wait for this thread.
14
15 * src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java:
16 Synchronize shapefile writing of artifacts which have the same uuid.
17
18 * src/main/java/de/intevation/gnv/utils/FileUtils.java: Added a function to
19 delete the content of a directory.
20
1 2010-03-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> 21 2010-03-26 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2 22
3 Issue211 (Applied patch) 23 Issue211 (Applied patch)
4 24
5 * src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java: Removed 25 * src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java: Removed

http://dive4elements.wald.intevation.org