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
Constructors -
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, unlockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.util.locks.FunctionalLock
computeLocked, computeLockedInterruptibly, doLocked, doLockedInterruptibly, lockCloseable, lockInterruptiblyCloseable, testLockedMethods inherited from interface java.util.concurrent.locks.Lock
lock, lockInterruptibly, newCondition, tryLock, tryLock, unlock
-
Constructor Details
-
FunctionalReentrantLock
public FunctionalReentrantLock() -
FunctionalReentrantLock
public FunctionalReentrantLock(boolean fair)
-