Class LockManager
- java.lang.Object
-
- org.eclipse.rdf4j.common.concurrent.locks.LockManager
-
public class LockManager extends Object
Manages a set of non-exclusive locks.- Author:
- HÃ¥vard M. Ottestad
-
-
Constructor Summary
Constructors Constructor Description LockManager()
LockManager(boolean trackLocks)
LockManager(boolean trackLocks, int waitToCollect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lock
createLock(String alias)
boolean
isActiveLock()
void
waitForActiveLocks()
-
-
-
Method Detail
-
isActiveLock
public boolean isActiveLock()
-
waitForActiveLocks
public void waitForActiveLocks() throws InterruptedException
- Throws:
InterruptedException
-
-