Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/utils/ExclusiveExec.java @ 778:9a828e5a2390
Removed trailing whitespace
gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 07:58:51 +0000 |
parents | eedad2ddad14 |
children | c4156275c1e1 |
comparison
equal
deleted
inserted
replaced
777:8009961db1cb | 778:9a828e5a2390 |
---|---|
4 | 4 |
5 /** | 5 /** |
6 * This class can be used to synchronize threads with a given key. To use this | 6 * This class can be used to synchronize threads with a given key. To use this |
7 * synchronization, you first need to do call {@link #acquire(String)} to | 7 * synchronization, you first need to do call {@link #acquire(String)} to |
8 * retrieve a {@link UniqueKey}. After this, you can call the code being | 8 * retrieve a {@link UniqueKey}. After this, you can call the code being |
9 * synchronized. After this execution, you need to call | 9 * synchronized. After this execution, you need to call |
10 * {@link #release(UniqueKey)} with your token you retrieved from {@link | 10 * {@link #release(UniqueKey)} with your token you retrieved from {@link |
11 * #acquire(String)}. A thread needs to wait for another thread if their keys | 11 * #acquire(String)}. A thread needs to wait for another thread if their keys |
12 * are equal. Threads with different keys don't need to wait for each other. | 12 * are equal. Threads with different keys don't need to wait for each other. |
13 * | 13 * |
14 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) | 14 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) |