Interface LockableFile.InterProcessLock
- All Known Implementing Classes:
LockableFile.LockFile, LockableFile.NioFileLock
- Enclosing class:
LockableFile
private static interface LockableFile.InterProcessLock
Interface for abstracting away the details of how a file is locked system wide.
Note: the implementations may NOT be re-entrant and thus must not be called if
the thread is already holding a lock for a file.
-
Method Summary
-
Method Details
-
lock
- Throws:
IOException
-
tryLock
- Throws:
IOException
-
unlock
- Throws:
IOException
-