Class LockManager
java.lang.Object
org.eclipse.rdf4j.common.concurrent.locks.LockManager
Manages a set of non-exclusive locks.
- Author:
- HÃ¥vard M. Ottestad
-
Constructor Summary
ConstructorDescriptionLockManager
(boolean trackLocks) LockManager
(boolean trackLocks, int waitToCollect) -
Method Summary
-
Constructor Details
-
LockManager
public LockManager() -
LockManager
public LockManager(boolean trackLocks) -
LockManager
public LockManager(boolean trackLocks, int waitToCollect)
-
-
Method Details
-
isActiveLock
public boolean isActiveLock() -
waitForActiveLocks
- Throws:
InterruptedException
-
createLock
-