public abstract class AgendaBenchmark extends AbstractBenchmark
Modifier and Type | Field and Description |
---|---|
protected org.kie.api.runtime.rule.FactHandle[] |
facts |
protected org.kie.api.runtime.KieSession |
ksession |
protected int |
rulesNr |
LINE_SEPARATOR
Constructor and Description |
---|
AgendaBenchmark(int rulesNr) |
Modifier and Type | Method and Description |
---|---|
void |
init(BenchmarkDefinition definition) |
void |
terminate() |
clone, createKnowledgeBase, createKnowledgeBase, createKnowledgeBuilder, init, repeatPatternString, terminate
protected final int rulesNr
protected org.kie.api.runtime.KieSession ksession
protected org.kie.api.runtime.rule.FactHandle[] facts
public void init(BenchmarkDefinition definition)
init
in interface Benchmark
init
in class AbstractBenchmark
public void terminate()
terminate
in interface Benchmark
terminate
in class AbstractBenchmark
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.