Interface Lock.ExtendedSupplier<T extends Lock>
-
- All Superinterfaces:
Lock.Supplier<T>
- All Known Implementing Classes:
Lock.ExtendedSupplier.Wrapper
- Enclosing interface:
- Lock
public static interface Lock.ExtendedSupplier<T extends Lock> extends Lock.Supplier<T>
Extension of the Lock.Supplier interface to support tryLock().
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Lock.ExtendedSupplier.Wrapper<T extends Lock>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description T
tryLock()
static <T extends Lock>
Lock.ExtendedSupplier.Wrapper<T>wrap(Lock.Supplier<T> getLockSupplier, Lock.Supplier<T> tryLockSupplier)
-
Methods inherited from interface org.eclipse.rdf4j.common.concurrent.locks.Lock.Supplier
getLock
-
-
-
-
Method Detail
-
tryLock
T tryLock()
-
wrap
static <T extends Lock> Lock.ExtendedSupplier.Wrapper<T> wrap(Lock.Supplier<T> getLockSupplier, Lock.Supplier<T> tryLockSupplier)
-
-