Contents
Class ExclusiveReentrantLockManager
java.lang.Object
org.eclipse.rdf4j.common.concurrent.locks.ExclusiveReentrantLockManager
A simple reentrant lock that allows other threads to unlock the lock.
- Author:
- Håvard M. Ottestad
-
Constructor Summary
ConstructorsConstructorDescriptionExclusiveReentrantLockManager
(boolean trackLocks) ExclusiveReentrantLockManager
(boolean trackLocks, int collectionFrequency) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
Method Details
-
tryExclusiveLock
-
getExclusiveLock
- Throws:
InterruptedException
-
isActiveLock
public boolean isActiveLock()
-