Package org.apache.jackrabbit.core.integration.random.operation

Examples of org.apache.jackrabbit.core.integration.random.operation.Operation


            // save nodes
            f.save(test.getPath()).execute();

            NodeIterator nodes = f.getRandomNodes(f.traverseNodes(test.getPath()));
            while (end > System.currentTimeMillis()) {
                Operation op = f.runInSequence(new Operation[]{
                    getRandomOperations(f, nodes),
                    f.save("/")
                });
                if (isUseXA()) {
                    op = f.runInTransaction(op);
                }
                op.execute();
            }
            test.remove();
            session.save();
        } catch (Exception e) {
            throw new RepositoryException(e);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.core.integration.random.operation.Operation

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.