Package com.oltpbenchmark.benchmarks.wikipedia.util

Examples of com.oltpbenchmark.benchmarks.wikipedia.util.TraceTransactionGenerator


    List<WikipediaOperation> trace = Collections.unmodifiableList(transSel.readAll());
    LOG.info("Total Number of Sample Operations: " + trace.size());
   
    ArrayList<Worker> workers = new ArrayList<Worker>();
    for (int i = 0; i < workConf.getTerminals(); ++i) {
      TransactionGenerator<WikipediaOperation> generator = new TraceTransactionGenerator(trace);
      WikipediaWorker worker = new WikipediaWorker(i, this, generator);
      workers.add(worker);
    } // FOR
    return workers;
  }
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.benchmarks.wikipedia.util.TraceTransactionGenerator

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.