Package org.eclipse.rdf4j.common.concurrent.locks

## 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()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LockManager

          public LockManager()

    - #### LockManager

          public LockManager​(boolean trackLocks)

    - #### LockManager

          public LockManager​(boolean trackLocks,
                             int waitToCollect)

  - ### Method Detail

    - #### isActiveLock

          public boolean isActiveLock()

    - #### waitForActiveLocks

          public void waitForActiveLocks()
                                  throws InterruptedException

      Throws:
        `InterruptedException`

    - #### createLock

          public Lock createLock​(String alias)