Examples of holdsLock()


Examples of org.apache.jackrabbit.core.lock.LockManager.holdsLock()

        checkLockable();

        LockManager lockMgr = session.getLockManager();
        synchronized (lockMgr) {
            if (lockMgr.holdsLock(this)) {
                // save first, and unlock later. this guards concurrent access

                // remove properties in content
                internalSetProperty(QName.JCR_LOCKOWNER, (InternalValue) null);
                internalSetProperty(QName.JCR_LOCKISDEEP, (InternalValue) null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.