|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadLock
Thread lock used by the ThreadLock manager.
Method Summary | |
---|---|
boolean |
acquire()
Acquire a lock. |
boolean |
isLocked()
Check if the lock is already in use. |
void |
release()
Release the lock. |
boolean |
tryAcquire()
Try to acquire a lock. |
Method Detail |
---|
boolean acquire() throws java.lang.InterruptedException
java.lang.InterruptedException
boolean tryAcquire() throws java.lang.InterruptedException
java.lang.InterruptedException
boolean isLocked()
void release()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |