Package org.mariadb.jdbc.client.util
Class ClosableLock
java.lang.Object
java.util.concurrent.locks.ReentrantLock
org.mariadb.jdbc.client.util.ClosableLock
- All Implemented Interfaces:
Serializable
,AutoCloseable
,Lock
- See Also:
-
Field Summary
Fields -
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, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ClosableLock
public ClosableLock()
-
-
Method Details
-
closeableLock
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-