public class CooperativeFileLock extends Object implements RepositoryLockMechanism
| Constructor and Description |
|---|
CooperativeFileLock() |
public void init(String path)
init in interface RepositoryLockMechanismpath - basic path to append FILE_NAME to.public void acquire()
throws RepositoryException
acquire in interface RepositoryLockMechanismRepositoryException - if locking was not successfulpublic void release()
release in interface RepositoryLockMechanismCopyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.