Interface CloseableLock
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
FileLock
A simple interface representing a closeable lock.
- Since:
- 4.0.0
-
Method Summary
-
Method Details
-
lock
Acquire a lock.- Throws:
LockException
- in case of problem acquiring the lock
-