Package io.deephaven.util.locks
Class FunctionalReentrantLock
java.lang.Object
java.util.concurrent.locks.ReentrantLock
io.deephaven.util.locks.FunctionalReentrantLock
- All Implemented Interfaces:
FunctionalLock
,Serializable
,Lock
ReentrantLock
that adds the FunctionalLock
default features.- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.concurrent.locks.ReentrantLock
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.util.locks.FunctionalLock
computeLocked, computeLockedInterruptibly, doLocked, doLockedInterruptibly, lockCloseable, lockInterruptiblyCloseable, testLocked
Methods inherited from interface java.util.concurrent.locks.Lock
lock, lockInterruptibly, newCondition, tryLock, tryLock, unlock
-
Constructor Details
-
FunctionalReentrantLock
public FunctionalReentrantLock() -
FunctionalReentrantLock
public FunctionalReentrantLock(boolean fair)
-