|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LockFactory
Interface for obtaining locks
Method Summary | |
---|---|
Lock |
getLock(java.lang.String name)
Get a lock -- getting the lock does *not* imply that it has been acquired. |
Method Detail |
---|
Lock getLock(java.lang.String name)
Lock.tryLock()
or Lock.lock()
on the returned object to
acquire the lock.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |