Package org.springframework.data.util
Interface Lock.AcquiredLock
- All Superinterfaces:
AutoCloseable
- Enclosing interface:
- Lock
An acquired lock can be used with try-with-resources for easier releasing.
-
Method Summary
-
Method Details
-
close
void close()Releases the lock.- Specified by:
close
in interfaceAutoCloseable
- See Also:
-