Class TraceableReentrantLock
java.lang.Object
java.util.concurrent.locks.ReentrantLock
com.inductiveautomation.ignition.common.util.TraceableReentrantLock
- All Implemented Interfaces:
Serializable
,Lock
- 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, lockInterruptibly, newCondition, toString, tryLock
-
Constructor Details
-
TraceableReentrantLock
public TraceableReentrantLock(org.apache.log4j.Logger log)
-
-
Method Details
-
tryLock
-
lock
-
unlock
-
tryLock
public boolean tryLock()- Specified by:
tryLock
in interfaceLock
- Overrides:
tryLock
in classReentrantLock
-
lock
public void lock()- Specified by:
lock
in interfaceLock
- Overrides:
lock
in classReentrantLock
-
unlock
public void unlock()- Specified by:
unlock
in interfaceLock
- Overrides:
unlock
in classReentrantLock
-