Interface Lock.ExtendedSupplier<T extends Lock>
- All Superinterfaces:
Lock.Supplier<T>
- All Known Implementing Classes:
Lock.ExtendedSupplier.Wrapper
- Enclosing interface:
Lock
Extension of the Lock.Supplier interface to support tryLock().
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiontryLock()
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 Details
-
tryLock
T tryLock() -
wrap
static <T extends Lock> Lock.ExtendedSupplier.Wrapper<T> wrap(Lock.Supplier<T> getLockSupplier, Lock.Supplier<T> tryLockSupplier)
-