33343536373839
* @param transactions * a list of transactions shared between threads. */ public TraceTransactionGenerator(List<TwitterOperation> transactions) { this.transactions = transactions; nextInTrace= new CounterGenerator(transactions.size()); }
353637383940414243
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 }