|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Lock
The lock object to acquire
Method Summary | |
---|---|
void |
lock()
Block until a lock is available |
boolean |
tryLock(long timeout,
TimeUnit time)
Acquire the lock. |
void |
unlock()
Release the lock |
Method Detail |
---|
boolean tryLock(long timeout, TimeUnit time) throws UGLockException
timeout
- The amount of time to waittime
- the units of time to wait
UGLockException
void lock() throws UGLockException
UGLockException
void unlock() throws UGLockException
UGLockException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |