Interface Lock.Supplier<T extends Lock>
-
- All Known Subinterfaces:
Lock.ExtendedSupplier<T>
- All Known Implementing Classes:
Lock.ExtendedSupplier.Wrapper
- Enclosing interface:
- Lock
public static interface Lock.Supplier<T extends Lock>
Functional interface for supplying a lock with support for InterruptedException.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getLock()
-
-
-
Method Detail
-
getLock
T getLock() throws InterruptedException
- Throws:
InterruptedException
-
-