public class DefaultEngineMetricCollector extends Object implements DmnEngineMetricCollector
Modifier and Type | Field and Description |
---|---|
protected AtomicLong |
executedDecisionElements |
Constructor and Description |
---|
DefaultEngineMetricCollector() |
Modifier and Type | Method and Description |
---|---|
long |
clearExecutedDecisionElements()
Resets the executed decision elements to 0.
|
long |
getExecutedDecisionElements() |
void |
notify(DmnDecisionTableEvaluationEvent evaluationEvent)
Will be called after a decision table was evaluated.
|
protected AtomicLong executedDecisionElements
public void notify(DmnDecisionTableEvaluationEvent evaluationEvent)
DmnDecisionTableEvaluationListener
notify
in interface DmnDecisionTableEvaluationListener
evaluationEvent
- the evaluation eventpublic long getExecutedDecisionElements()
getExecutedDecisionElements
in interface DmnEngineMetricCollector
public long clearExecutedDecisionElements()
DmnEngineMetricCollector
clearExecutedDecisionElements
in interface DmnEngineMetricCollector
Copyright © 2018. All rights reserved.