Class CloseableReentrantLock
java.lang.Object
java.util.concurrent.locks.ReentrantLock
com.inductiveautomation.ignition.gateway.util.CloseableReentrantLock
- All Implemented Interfaces:
- Serializable,- AutoCloseable,- Lock
A ReentrantLock that supports Java 8 AutoCloseable.
 Would be in common if we didn't require J6 outside of the gateway.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.util.concurrent.locks.ReentrantLockgetHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
- 
Constructor Details- 
CloseableReentrantLockpublic CloseableReentrantLock()
 
- 
- 
Method Details- 
open
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
 
-