Package org.exist.dom

Examples of org.exist.dom.DocumentSet.unlock()


        } catch (final LockException e) {
            throw new XPathException(this, "Failed to acquire lock on the context document set");
        } finally {
            // release all locks
            if (!context.inProtectedMode())
                {ds.unlock(false);}
        }
//        result.updateNoSort();
        if (context.getProfiler().isEnabled())
            {context.getProfiler().end(this, "", result);}
       
View Full Code Here


            docs.lock(context.getBroker(), exclusive, false);
            return getArgument(1).eval(contextSequence, contextItem);
        } catch (final LockException e) {
            throw new XPathException(this, "Could not lock document set", e);
        } finally {
            docs.unlock(exclusive);
        }
    }
   
   
    /* (non-Javadoc)
 
View Full Code Here

            throw new XPathException(this, "Could not acquire lock on document set.");
        } finally {
            if(!(cacheIsValid || lockOnLoad))
                // release all locks
                {docs.unlock(lockOnLoad);}
  }
  cached = result;
  cachedDocs = docs;
  registerUpdateListener();
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.