|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.kahadb.util.LockFile
public class LockFile
Used to lock a File.
Constructor Summary | |
---|---|
LockFile(java.io.File file,
boolean deleteOnUnlock)
|
Method Summary | |
---|---|
void |
lock()
|
void |
unlock()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LockFile(java.io.File file, boolean deleteOnUnlock)
Method Detail |
---|
public void lock() throws java.io.IOException
java.io.IOException
public void unlock()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |