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 Summary
Constructors Constructor Description CloseableReentrantLock() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()CloseableReentrantLockopen()- 
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, unlock 
 - 
 
 - 
 
- 
- 
Method Detail
- 
open
public CloseableReentrantLock open()
 
- 
close
public void close()
- Specified by:
 closein interfacejava.lang.AutoCloseable
 
 - 
 
 -