aQute.libg.filelock
Class DirectoryLock

java.lang.Object
  extended by aQute.libg.filelock.DirectoryLock

public class DirectoryLock
extends Object


Field Summary
static String LOCKNAME
           
 
Constructor Summary
DirectoryLock(File directory, long timeout)
           
 
Method Summary
 void lock()
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCKNAME

public static final String LOCKNAME
See Also:
Constant Field Values
Constructor Detail

DirectoryLock

public DirectoryLock(File directory,
                     long timeout)
Method Detail

release

public void release()

lock

public void lock()
          throws InterruptedException
Throws:
InterruptedException


Copyright © 2012 aQute SARL. All Rights Reserved.