Package org.apache.jackrabbit.mongomk.perf.RandomJsopGenerator

Examples of org.apache.jackrabbit.mongomk.perf.RandomJsopGenerator.RandomJsop


        randomJsopGenerator = new RandomJsopGenerator();
    }

    private void startCommitting() throws Exception {
        while (true) {
            RandomJsop randomJsop = randomJsopGenerator.nextRandom();

            String commitPath = randomJsop.getPath();
            String jsonDiff = randomJsop.getJsop();
            String revisionId = null;
            String message = randomJsop.getMessage();

            commitMonitor.start();
            String newRevisionId = microKernel.commit(commitPath, jsonDiff, revisionId, message);
            commitMonitor.stop();
            PERF.info(commitMonitor);
View Full Code Here


        randomJsopGenerator = new RandomJsopGenerator();
    }

    private void startCommitting() throws Exception {
        while (true) {
            RandomJsop randomJsop = randomJsopGenerator.nextRandom();

            String commitPath = randomJsop.getPath();
            String jsonDiff = randomJsop.getJsop();
            String revisionId = null;
            String message = randomJsop.getMessage();

            commitMonitor.start();
            String newRevisionId = microKernel.commit(commitPath, jsonDiff, revisionId, message);
            commitMonitor.stop();
            PERF.info(commitMonitor);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.mongomk.perf.RandomJsopGenerator.RandomJsop

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.