Package edu.brown.benchmark.voter

Examples of edu.brown.benchmark.voter.VoterProjectBuilder.addAllDefaults()


        builder.setGlobalConfParameter("site.commandlog_timeout", 1000);
        builder.setGlobalConfParameter("site.status_enable", true);
        builder.setGlobalConfParameter("site.status_exec_info", true);
       
        VoterProjectBuilder project = new VoterProjectBuilder();
        project.addAllDefaults();
       
        boolean success;
       
        /////////////////////////////////////////////////////////////
        // CONFIG #1: 1 Local Site/Partition running on JNI backend
View Full Code Here


    public static Test suite() {
        // the suite made here will all be using the tests from this class
        MultiConfigSuiteBuilder builder = new MultiConfigSuiteBuilder(TestVoterSuite.class);
        VoterProjectBuilder project = new VoterProjectBuilder();
        project.addAllDefaults();
       
        boolean success;
        VoltServerConfig config;
       
        /////////////////////////////////////////////////////////////
View Full Code Here

        builder.setGlobalConfParameter("site.anticache_check_interval", Integer.MAX_VALUE);
        builder.setGlobalConfParameter("site.anticache_batching", false);

        // build up a project builder for the TPC-C app
        VoterProjectBuilder project = new VoterProjectBuilder();
        project.addAllDefaults();
        project.markTableEvictable(VoterConstants.TABLENAME_VOTES);
        project.markTableEvictable(VoterConstants.TABLENAME_CONTESTANTS);
        project.addStmtProcedure("GetVote",
                                 "SELECT * FROM " + VoterConstants.TABLENAME_VOTES + " WHERE vote_id = ?");
        project.addStmtProcedure("GetAllVotes",
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.