Package org.apache.jackrabbit.mongomk.query

Examples of org.apache.jackrabbit.mongomk.query.FetchValidCommitsQuery.execute()


        int numberOfChildren = 2;
        scenario.addChildrenToA(numberOfChildren);

        int maxEntries = 2;
        FetchValidCommitsQuery query = new FetchValidCommitsQuery(mongoConnection, maxEntries);
        List<CommitMongo> commits = query.execute();
        assertEquals(maxEntries, commits.size());
    }
}
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.