Class TraceableReentrantLock
- java.lang.Object
- 
- java.util.concurrent.locks.ReentrantLock
- 
- com.inductiveautomation.ignition.common.util.TraceableReentrantLock
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.util.concurrent.locks.Lock
 
 public class TraceableReentrantLock extends java.util.concurrent.locks.ReentrantLock- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description TraceableReentrantLock(org.apache.log4j.Logger log)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlock()voidlock(java.lang.String callingMethod)booleantryLock()booleantryLock(java.lang.String callingMethod)voidunlock()voidunlock(java.lang.String callingMethod)- 
Methods inherited from class java.util.concurrent.locks.ReentrantLockgetHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lockInterruptibly, newCondition, toString, tryLock
 
- 
 
- 
- 
- 
Method Detail- 
tryLockpublic boolean tryLock(java.lang.String callingMethod) 
 - 
lockpublic void lock(java.lang.String callingMethod) 
 - 
unlockpublic void unlock(java.lang.String callingMethod) 
 - 
tryLockpublic boolean tryLock() - Specified by:
- tryLockin interface- java.util.concurrent.locks.Lock
- Overrides:
- tryLockin class- java.util.concurrent.locks.ReentrantLock
 
 - 
lockpublic void lock() - Specified by:
- lockin interface- java.util.concurrent.locks.Lock
- Overrides:
- lockin class- java.util.concurrent.locks.ReentrantLock
 
 - 
unlockpublic void unlock() - Specified by:
- unlockin interface- java.util.concurrent.locks.Lock
- Overrides:
- unlockin class- java.util.concurrent.locks.ReentrantLock
 
 
- 
 
-