[Mulgara-svn] r1092 - branches/mgr-121-lockrecovery/src/jar/resolver/java/org/mulgara/resolver
ronald at mulgara.org
ronald at mulgara.org
Fri Jul 18 13:50:59 UTC 2008
Author: ronald
Date: 2008-07-18 06:50:58 -0700 (Fri, 18 Jul 2008)
New Revision: 1092
Modified:
branches/mgr-121-lockrecovery/src/jar/resolver/java/org/mulgara/resolver/MulgaraTransactionFactory.java
Log:
Minor javadoc fixes.
Modified: branches/mgr-121-lockrecovery/src/jar/resolver/java/org/mulgara/resolver/MulgaraTransactionFactory.java
===================================================================
--- branches/mgr-121-lockrecovery/src/jar/resolver/java/org/mulgara/resolver/MulgaraTransactionFactory.java 2008-07-17 21:56:54 UTC (rev 1091)
+++ branches/mgr-121-lockrecovery/src/jar/resolver/java/org/mulgara/resolver/MulgaraTransactionFactory.java 2008-07-18 13:50:58 UTC (rev 1092)
@@ -248,13 +248,12 @@
* times as this is called.
*
* <p>We use our own implementation here (as opposed to, say, java.util.concurrent.Lock) so we
- * reliable get the current mutex-owner, and we use a lock around the mutex acquisition and
+ * can reliably get the current mutex-owner, and we use a lock around the mutex acquisition and
* release to do atomic tests and settting of additional variables associated with the mutex.
*
* @param timeout how many milliseconds to wait for the mutex, or 0 to wait indefinitely
* @param T the type of exception to throw on failure
- * @throws Exception if the mutex could not be acquired, either due to a timeout or due to an
- * interrupt
+ * @throws T if the mutex could not be acquired, either due to a timeout or due to an interrupt
*/
public <T extends Throwable> void acquireMutex(long timeout, Class<T> exc) throws T {
synchronized (getMutexLock()) {
@@ -286,12 +285,11 @@
}
/**
- * Acquire the mutex, interrupting the existing holder is there is one.
+ * Acquire the mutex, interrupting the existing holder if there is one.
*
* @param timeout how many milliseconds to wait for the mutex, or 0 to wait indefinitely
* @param T the type of exception to throw on failure
- * @throws Exception if the mutex could not be acquired, either due to a timeout or due to an
- * interrupt
+ * @throws T if the mutex could not be acquired, either due to a timeout or due to an interrupt
* @see #acquireMutex
*/
public <T extends Throwable> void acquireMutexWithInterrupt(long timeout, Class<T> exc) throws T {
More information about the Mulgara-svn
mailing list