public class DefaultRuntimeManagerLock extends Object implements RuntimeManagerLock
| Constructor and Description |
|---|
DefaultRuntimeManagerLock() |
| Modifier and Type | Method and Description |
|---|---|
ReentrantLock |
internalLock() |
void |
lock() |
void |
lockInterruptible() |
String |
toString() |
boolean |
tryLock(long units,
TimeUnit timeUnit) |
void |
unlock() |
public void lock()
lock in interface RuntimeManagerLockpublic void lockInterruptible()
throws InterruptedException
lockInterruptible in interface RuntimeManagerLockInterruptedExceptionpublic void unlock()
unlock in interface RuntimeManagerLockpublic boolean tryLock(long units,
TimeUnit timeUnit)
throws InterruptedException
tryLock in interface RuntimeManagerLockInterruptedExceptionpublic ReentrantLock internalLock()
internalLock in interface RuntimeManagerLockCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.