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

## Class Lock.ExtendedSupplier.Wrapper<T extends Lock>

- java.lang.Object
- - org.eclipse.rdf4j.common.concurrent.locks.Lock.ExtendedSupplier.Wrapper<T>

- All Implemented Interfaces:
    `Lock.ExtendedSupplier<T>`, `Lock.Supplier<T>`
  Enclosing interface:
    Lock.ExtendedSupplier<T extends Lock>

      public static class Lock.ExtendedSupplier.Wrapper<T extends Lock>
      extends Object
      implements Lock.ExtendedSupplier<T>

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.eclipse.rdf4j.common.concurrent.locks.Lock.ExtendedSupplier

      `Lock.ExtendedSupplier.Wrapper<T extends Lock>`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `getLock()` |
    `T` | `tryLock()` |

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

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

- - ### Method Detail

    - #### tryLock

          public T tryLock()

      Specified by:
        `tryLock` in interface `Lock.ExtendedSupplier<T extends Lock>`

    - #### getLock

          public T getLock()
                    throws InterruptedException

      Specified by:
        `getLock` in interface `Lock.Supplier<T extends Lock>`
      Throws:
        `InterruptedException`