| Modifier and Type | Method and Description |
|---|---|
void |
lock()
Lock object.
|
boolean |
tryLock()
Try to lock object.
|
void |
unlock()
Unlock object.
|
void lock() throws InterruptedException
InterruptedExceptionvoid unlock()
boolean tryLock()
throws InterruptedException
InterruptedExceptionCopyright © 2014–2016 Tomas Teubner. All rights reserved.