Interface CloseableReentrantReadWriteLock.CloseableLock

All Superinterfaces:
AutoCloseable
Enclosing class:
CloseableReentrantReadWriteLock
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CloseableReentrantReadWriteLock.CloseableLock extends AutoCloseable
An AutoCloseable that releases a lock when closed. This interface does not throw any checked exceptions from close().
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases the lock.