org.drools.benchmark
Class BenchmarkDefinition

java.lang.Object
  extended by org.drools.benchmark.BenchmarkDefinition

public class BenchmarkDefinition
extends Object


Constructor Summary
BenchmarkDefinition(Constructor<?> constructor, Object[] args)
           
 
Method Summary
 String getDescription()
           
 int getRepetitions()
           
 int getWarmups()
           
 Benchmark instance()
           
 boolean isEnabled()
           
 BenchmarkDefinition setDescription(String description)
           
 BenchmarkDefinition setEnabled(boolean enabled)
           
 BenchmarkDefinition setRepetitions(int repetitions)
           
 BenchmarkDefinition setWarmups(int warmups)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BenchmarkDefinition

public BenchmarkDefinition(Constructor<?> constructor,
                           Object[] args)
Method Detail

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.