org.drools.benchmark
Class BenchmarkDefinition
java.lang.Object
org.drools.benchmark.BenchmarkDefinition
public class BenchmarkDefinition
- extends Object
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)
getThreadNr
public int getThreadNr()
setThreadNr
public BenchmarkDefinition setThreadNr(int threadNr)
isParallel
public boolean isParallel()
isEnabled
public boolean isEnabled()
setEnabled
public BenchmarkDefinition setEnabled(boolean enabled)
isForceWarmup
public boolean isForceWarmup()
setForceWarmup
public BenchmarkDefinition setForceWarmup(boolean forceWarmup)
instance
public Benchmark instance()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.