Package org.apache.jackrabbit.mongomk

Examples of org.apache.jackrabbit.mongomk.MongoMK$Builder


        ExecutorService executor = Executors.newFixedThreadPool(numberOfMks);
        for (int i = 0; i < numberOfMks; i++) {
            String diff = buildPyramidDiff("/", 0, numberOfChildren,
                    numberOfNodes, prefixes[i], new StringBuilder()).toString();
            MongoMK mk = new MongoMK.Builder().open();
            GenericWriteTask task = new GenericWriteTask("mk-" + i, mk, diff, 10);
            executor.execute(task);
        }
        executor.shutdown();
        executor.awaitTermination(10, TimeUnit.MINUTES);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.mongomk.MongoMK$Builder

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.