Package com.oltpbenchmark.distributions

Examples of com.oltpbenchmark.distributions.CounterGenerator


   * @param transactions
   *            a list of transactions shared between threads.
   */
  public TraceTransactionGenerator(List<TwitterOperation> transactions) {
    this.transactions = transactions;
    nextInTrace= new CounterGenerator(transactions.size());
  }
View Full Code Here


        randScan = new ZipfianGenerator(YCSBConstants.MAX_SCAN);
       
        synchronized (YCSBWorker.class) {
            // We must know where to start inserting
            if (insertRecord == null) {
                insertRecord = new CounterGenerator(init_record_count);
            }
        } // SYNCH
    }
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.distributions.CounterGenerator

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.