Package com.arjuna.ats.arjuna.utils

Examples of com.arjuna.ats.arjuna.utils.FileLock


     * Lock the file in the object store.
     */

    protected synchronized boolean lock (File fd, int lmode, boolean create)
    {
  FileLock fileLock = new FileLock(fd);

  return fileLock.lock(lmode, create);
    }
View Full Code Here


     * Unlock the file in the object store.
     */

    protected synchronized boolean unlock (File fd)
    {
  FileLock fileLock = new FileLock(fd);

  return fileLock.unlock();
    }
View Full Code Here

TOP

Related Classes of com.arjuna.ats.arjuna.utils.FileLock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.