public final class ClosableLock extends ReentrantLock implements AutoCloseable
| Constructor and Description |
|---|
ClosableLock() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ClosableLock |
closeableLock()
Default constructor, retaining lock.
|
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlockpublic ClosableLock closeableLock()
public void close()
close in interface AutoCloseableCopyright © 2025 SingleStore. All rights reserved.