|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.almendra.commons.threads.LockUtility
public class LockUtility
Defines static utility methods for dealing with locks. The idea is to define a single place
to deal with InterruptedExceptions
uniformingly avoiding code repretition.
Method Summary | |
---|---|
static void |
acquire(EDU.oswego.cs.dl.util.concurrent.Sync lock)
Release the lock . |
static void |
release(EDU.oswego.cs.dl.util.concurrent.Sync lock)
Release the lock . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void acquire(EDU.oswego.cs.dl.util.concurrent.Sync lock)
lock
.
lock
- public static void release(EDU.oswego.cs.dl.util.concurrent.Sync lock)
lock
.
lock
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |