Class DmnEngineMetricCollectorWrapper
java.lang.Object
org.camunda.bpm.dmn.engine.impl.metrics.DmnEngineMetricCollectorWrapper
- All Implemented Interfaces:
DmnDecisionEvaluationListener,DmnDecisionTableEvaluationListener,DmnEngineMetricCollector
public class DmnEngineMetricCollectorWrapper
extends Object
implements DmnEngineMetricCollector, DmnDecisionEvaluationListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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.protected voidnotifyCollector(DmnDecisionLogicEvaluationEvent evaluationEvent)
-
Field Details
-
collector
-
-
Constructor Details
-
DmnEngineMetricCollectorWrapper
-
-
Method Details
-
notify
Description copied from interface:DmnDecisionTableEvaluationListenerWill be called after a decision table was evaluated.- Specified by:
notifyin interfaceDmnDecisionTableEvaluationListener- Parameters:
evaluationEvent- the evaluation event
-
notify
Description copied from interface:DmnDecisionEvaluationListenerWill be called after a decision was evaluated.- Specified by:
notifyin interfaceDmnDecisionEvaluationListener- Parameters:
evaluationEvent- the evaluation event
-
notifyCollector
-
getExecutedDecisionInstances
public long getExecutedDecisionInstances()- Specified by:
getExecutedDecisionInstancesin interfaceDmnEngineMetricCollector- Returns:
- the number of executed decision instances since creation of this engine
-
getExecutedDecisionElements
public long getExecutedDecisionElements()- Specified by:
getExecutedDecisionElementsin interfaceDmnEngineMetricCollector- Returns:
- the number of executed decision elements since creation of this engine
-
clearExecutedDecisionInstances
public long clearExecutedDecisionInstances()Description copied from interface:DmnEngineMetricCollectorResets the executed decision instances to 0.- Specified by:
clearExecutedDecisionInstancesin interfaceDmnEngineMetricCollector- Returns:
- the number of executed decision elements before resetting.
-
clearExecutedDecisionElements
public long clearExecutedDecisionElements()Description copied from interface:DmnEngineMetricCollectorResets the executed decision elements to 0.- Specified by:
clearExecutedDecisionElementsin interfaceDmnEngineMetricCollector- Returns:
- the number of executed decision elements before resetting.
-