Contents
Interface Lock
- All Known Implementing Classes:
LockCleaner.CleanableLock
,LockTracking.SimpleLock
,StampedLockManager.OptimisticReadLock
public interface Lock
A lock on a specific monitor that can be used for synchronization purposes.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Lock.ExtendedSupplier<T extends Lock>
Extension of the Lock.Supplier interface to support tryLock().static interface
Lock.Supplier<T extends Lock>
Functional interface for supplying a lock with support for InterruptedException. -
Method Summary