Class DefaultEngineMetricCollector
java.lang.Object
org.camunda.bpm.dmn.engine.impl.metrics.DefaultEngineMetricCollector
- All Implemented Interfaces:
- DmnDecisionEvaluationListener,- DmnDecisionTableEvaluationListener,- DmnEngineMetricCollector
public class DefaultEngineMetricCollector
extends Object
implements DmnEngineMetricCollector, DmnDecisionEvaluationListener
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongResets the executed decision elements to 0.longResets the executed decision instances to 0.longlongvoidnotify(DmnDecisionEvaluationEvent evaluationEvent) Will be called after a decision was evaluated.voidnotify(DmnDecisionTableEvaluationEvent evaluationEvent) Will be called after a decision table was evaluated.
- 
Field Details- 
executedDecisionInstances
- 
executedDecisionElements
 
- 
- 
Constructor Details- 
DefaultEngineMetricCollectorpublic DefaultEngineMetricCollector()
 
- 
- 
Method Details- 
notifyDescription copied from interface:DmnDecisionTableEvaluationListenerWill be called after a decision table was evaluated.- Specified by:
- notifyin interface- DmnDecisionTableEvaluationListener
- Parameters:
- evaluationEvent- the evaluation event
 
- 
notifyDescription copied from interface:DmnDecisionEvaluationListenerWill be called after a decision was evaluated.- Specified by:
- notifyin interface- DmnDecisionEvaluationListener
- Parameters:
- evaluationEvent- the evaluation event
 
- 
getExecutedDecisionInstancespublic long getExecutedDecisionInstances()- Specified by:
- getExecutedDecisionInstancesin interface- DmnEngineMetricCollector
- Returns:
- the number of executed decision instances since creation of this engine
 
- 
getExecutedDecisionElementspublic long getExecutedDecisionElements()- Specified by:
- getExecutedDecisionElementsin interface- DmnEngineMetricCollector
- Returns:
- the number of executed decision elements since creation of this engine
 
- 
clearExecutedDecisionInstancespublic long clearExecutedDecisionInstances()Description copied from interface:DmnEngineMetricCollectorResets the executed decision instances to 0.- Specified by:
- clearExecutedDecisionInstancesin interface- DmnEngineMetricCollector
- Returns:
- the number of executed decision elements before resetting.
 
- 
clearExecutedDecisionElementspublic long clearExecutedDecisionElements()Description copied from interface:DmnEngineMetricCollectorResets the executed decision elements to 0.- Specified by:
- clearExecutedDecisionElementsin interface- DmnEngineMetricCollector
- Returns:
- the number of executed decision elements before resetting.
 
 
-