Class CloseableReentrantLock
- java.lang.Object
- 
- java.util.concurrent.locks.ReentrantLock
- 
- com.inductiveautomation.ignition.gateway.util.CloseableReentrantLock
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.AutoCloseable,- java.util.concurrent.locks.Lock
 
 public class CloseableReentrantLock extends java.util.concurrent.locks.ReentrantLock implements java.lang.AutoCloseableA ReentrantLock that supports Java 8 AutoCloseable. Would be in common if we didn't require J6 outside of the gateway.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description CloseableReentrantLock()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()CloseableReentrantLockopen()- 
Methods 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
 
- 
 
- 
- 
- 
Method Detail- 
openpublic CloseableReentrantLock open() 
 - 
closepublic void close() - Specified by:
- closein interface- java.lang.AutoCloseable
 
 
- 
 
-