org.drools.benchmark
Class BenchmarkDefinition
java.lang.Object
org.drools.benchmark.BenchmarkDefinition
public class BenchmarkDefinition
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BenchmarkDefinition
public BenchmarkDefinition(Constructor<?> constructor,
Object[] args)
getDescription
public String getDescription()
setDescription
public BenchmarkDefinition setDescription(String description)
getRepetitions
public int getRepetitions()
setRepetitions
public BenchmarkDefinition setRepetitions(int repetitions)
getWarmups
public int getWarmups()
setWarmups
public BenchmarkDefinition setWarmups(int warmups)
isEnabled
public boolean isEnabled()
setEnabled
public BenchmarkDefinition setEnabled(boolean enabled)
instance
public Benchmark instance()
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.