Package org.apache.maven.index.fs
Interface Locker
public interface Locker
Filesystem locker. Can be used to synchronize access to filesystem directories from different operating system
processes.
- Author:
- igor
-
Field Summary
-
Method Summary
-
Field Details
-
LOCK_FILE
- See Also:
-
-
Method Details
-
lock
Acquires exclusive lock on specified directory. Most implementation will use marker file and will only work if all processes that require access to the directory use the same filename.- Throws:
IOException
-