Class ExclusiveLockManager
java.lang.Object
org.eclipse.rdf4j.common.concurrent.locks.ExclusiveLockManager
A simple non-reentrant lock.
- Author:
- HÃ¥vard M. Ottestad
-
Constructor Summary
ConstructorDescriptionExclusiveLockManager
(boolean trackLocks) ExclusiveLockManager
(boolean trackLocks, int collectionFrequency) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
ExclusiveLockManager
public ExclusiveLockManager() -
ExclusiveLockManager
public ExclusiveLockManager(boolean trackLocks) -
ExclusiveLockManager
public ExclusiveLockManager(boolean trackLocks, int collectionFrequency)
-
-
Method Details
-
tryExclusiveLock
-
getExclusiveLock
- Throws:
InterruptedException
-
isActiveLock
public boolean isActiveLock()
-