Package org.apache.activemq.util
Class LockFile
- java.lang.Object
-
- org.apache.activemq.util.LockFile
-
public class LockFile extends Object
Used to lock a File.- Author:
- chirino
-
-
Constructor Detail
-
LockFile
public LockFile(File file, boolean deleteOnUnlock)
-
-
Method Detail
-
lock
public void lock() throws IOException
- Throws:
IOException
-
unlock
public void unlock()
-
keepAlive
public boolean keepAlive()
-
-