public class BenchmarkDefinition extends Object
| Constructor and Description |
|---|
BenchmarkDefinition(Constructor<?> constructor,
Object[] args) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
int |
getRepetitions() |
int |
getThreadNr() |
int |
getWarmups() |
Benchmark |
instance() |
boolean |
isEnabled() |
boolean |
isForceWarmup() |
boolean |
isParallel() |
BenchmarkDefinition |
setDescription(String description) |
BenchmarkDefinition |
setEnabled(boolean enabled) |
BenchmarkDefinition |
setForceWarmup(boolean forceWarmup) |
BenchmarkDefinition |
setRepetitions(int repetitions) |
BenchmarkDefinition |
setThreadNr(int threadNr) |
BenchmarkDefinition |
setWarmups(int warmups) |
String |
toString() |
public BenchmarkDefinition(Constructor<?> constructor, Object[] args)
public String getDescription()
public BenchmarkDefinition setDescription(String description)
public int getRepetitions()
public BenchmarkDefinition setRepetitions(int repetitions)
public int getWarmups()
public BenchmarkDefinition setWarmups(int warmups)
public int getThreadNr()
public BenchmarkDefinition setThreadNr(int threadNr)
public boolean isParallel()
public boolean isEnabled()
public BenchmarkDefinition setEnabled(boolean enabled)
public boolean isForceWarmup()
public BenchmarkDefinition setForceWarmup(boolean forceWarmup)
public Benchmark instance()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.