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); } }
@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; }