Drools Benchmark 6.0.0.CR3

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 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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)

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

Drools Benchmark 6.0.0.CR3

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.