Package com.illumon.util.locks
Class FunctionalReentrantLock
java.lang.Object
java.util.concurrent.locks.ReentrantLock
com.illumon.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 com.illumon.util.locks.FunctionalLock
computeLocked, computeLockedInterruptibly, doLocked, doLockedInterruptibly, lockCloseable, 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)
-