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 javax.jcr.RepositoryException
acquire in interface RepositoryLockMechanismjavax.jcr.RepositoryException - if locking was not successfulpublic void release()
release in interface RepositoryLockMechanismCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.