Package aQute.libg.filelock
Class DirectoryLock
- java.lang.Object
-
- aQute.libg.filelock.DirectoryLock
-
public class DirectoryLock extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LOCKNAME
-
Constructor Summary
Constructors Constructor Description DirectoryLock(java.io.File directory, long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
lock()
void
release()
-
-
-
Field Detail
-
LOCKNAME
public static final java.lang.String LOCKNAME
- See Also:
- Constant Field Values
-
-