aQute.libg.filelock
Class DirectoryLock
java.lang.Object
aQute.libg.filelock.DirectoryLock
public class DirectoryLock
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCKNAME
public static final String LOCKNAME
- See Also:
- Constant Field Values
DirectoryLock
public DirectoryLock(File directory,
long timeout)
release
public void release()
lock
public void lock()
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2012 aQute SARL. All Rights Reserved.