~pbeaman/akiban-persistit/buffer-pool-warmup-sorted

« back to all changes in this revision

Viewing changes to src/test/java/com/persistit/stress/unit/Stress12txn.java

Merge from eclipse_canonical_format

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import com.persistit.Value;
22
22
import com.persistit.exception.RollbackException;
23
23
import com.persistit.exception.TransactionFailedException;
24
 
import com.persistit.stress.TestResult;
25
24
import com.persistit.util.ArgParser;
26
25
 
27
26
public class Stress12txn extends StressBase {
30
29
            "count|int:1000:1:100000000|Number Repetitions per cycle",
31
30
            "size|int:1:1:100000|Number of nodes to populate", "seed|int:1:1:20000|Random seed", };
32
31
 
33
 
    public Stress12txn(String argsString) {
 
32
    public Stress12txn(final String argsString) {
34
33
        super(argsString);
35
34
    }
36
35
 
70
69
                    for (int index = 0; index < _size; index++) {
71
70
                        _counters[index] = new AtomicLong();
72
71
                    }
73
 
                } catch (Exception e) {
 
72
                } catch (final Exception e) {
74
73
                    fail(e);
75
74
                }
76
75
            }