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 Detail
-
tryLock
public T tryLock()
- Specified by:
tryLock
in interfaceLock.ExtendedSupplier<T extends Lock>
-
getLock
public T getLock() throws InterruptedException
- Specified by:
getLock
in interfaceLock.Supplier<T extends Lock>
- Throws:
InterruptedException
-
-