Examples of defragXMLResource()


Examples of org.exist.storage.DBBroker.defragXMLResource()

            for (final Iterator<DocumentImpl> i = docs.getDocumentIterator(); i.hasNext(); ) {
                final DocumentImpl next = i.next();
                if(next.getMetadata().getSplitCount() > splitCount)
                    {try {
                        next.getUpdateLock().acquire(Lock.WRITE_LOCK);
                        broker.defragXMLResource(transaction, next);
                    } finally {
                        next.getUpdateLock().release(Lock.WRITE_LOCK);
                    }}
                broker.checkXMLResourceConsistency(next);
            }
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.