Package com.oltpbenchmark.benchmarks.wikipedia.util

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


 
  @Override
  protected List<Worker> makeWorkersImpl(boolean verbose) throws IOException {
      LOG.info(String.format("Initializing %d %s using '%s' as the input trace file",
                               workConf.getTerminals(), WikipediaWorker.class.getSimpleName(), this.traceInput));
    TransactionSelector transSel = new TransactionSelector(this.traceInput, workConf.getTransTypes());
    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);
View Full Code Here

TOP

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

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.