Exemple #1
0
 private void setTransactionDisplayNames() {
   procNames = new String[TPCCSimulation.Transaction.values().length];
   procCounts = new AtomicLong[procNames.length];
   for (int ii = 0; ii < TPCCSimulation.Transaction.values().length; ii++) {
     procNames[ii] = TPCCSimulation.Transaction.values()[ii].displayName;
     procCounts[ii] = new AtomicLong(0L);
   }
 }
Exemple #2
0
 @Override
 protected String[] getTransactionDisplayNames() {
   String countDisplayNames[] = new String[TPCCSimulation.Transaction.values().length];
   for (int ii = 0; ii < TPCCSimulation.Transaction.values().length; ii++) {
     countDisplayNames[ii] = TPCCSimulation.Transaction.values()[ii].displayName;
   }
   return countDisplayNames;
 }