|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Lock
Generic lock interface - a subset of Java 1.5 java.util.concurrent.locks.Lock interface
LockOperation
Method Summary | |
---|---|
void |
lock()
Acquire a lock - blocks until lock is successfully acquired |
boolean |
tryLock()
Try to obtain a lock - returns immediately |
void |
unlock()
Unlock this lock |
Method Detail |
---|
boolean tryLock()
void unlock()
void lock()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |