Package org.apache.jackrabbit.oak.benchmark.util.OakIndexUtils

Examples of org.apache.jackrabbit.oak.benchmark.util.OakIndexUtils.PropertyIndex


        Node testNode = rootNode.addNode("testNode", NODE_TYPE);
        for(int i=0; i<PARENT_COUNT; i++) {
            Node level1Node = testNode.addNode("level1_"+i, NODE_TYPE);
        }
        session.save();
        PropertyIndex index = new OakIndexUtils.PropertyIndex();
        index.property("indexedProperty");
        index.create(session);
        session.save();
       
        for(int i=0; i<THREAD_COUNT-1; i++) {
            addBackgroundJob(new Writer());
        }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.benchmark.util.OakIndexUtils.PropertyIndex

Copyright © 2018 www.massapicom. 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.