Package com.oltpbenchmark.benchmarks.twitter.util

Examples of com.oltpbenchmark.benchmarks.twitter.util.TransactionSelector.readAll()


  protected List<Worker> makeWorkersImpl(boolean verbose) throws IOException {
    TransactionSelector transSel = new TransactionSelector(
    twitterConf.getTracefile(),
    twitterConf.getTracefile2(),
    workConf.getTransTypes());
    List<TwitterOperation> trace = Collections.unmodifiableList(transSel.readAll());
    transSel.close();
    ArrayList<Worker> workers = new ArrayList<Worker>();
    for (int i = 0; i < workConf.getTerminals(); ++i) {
      TransactionGenerator<TwitterOperation> generator =
          new TraceTransactionGenerator(trace);
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.