public interface RuntimeManagerLock
| Modifier and Type | Method and Description |
|---|---|
default void |
forceUnlock() |
int |
getQueueLength() |
boolean |
hasQueuedThreads() |
boolean |
isHeldByCurrentThread() |
void |
lock() |
void |
lockInterruptible() |
boolean |
tryLock(long units,
TimeUnit milliseconds) |
void |
unlock() |
void lock()
boolean tryLock(long units,
TimeUnit milliseconds)
throws InterruptedException
InterruptedExceptionvoid lockInterruptible()
throws InterruptedException
InterruptedExceptionvoid unlock()
boolean hasQueuedThreads()
boolean isHeldByCurrentThread()
int getQueueLength()
default void forceUnlock()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.