org.camunda.bpm.dmn.engine.impl.metrics
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
collector
protected final DmnEngineMetricCollector collector
DmnEngineMetricCollectorWrapper
public DmnEngineMetricCollectorWrapper(DmnEngineMetricCollector collector)
notify
public void notify(DmnDecisionTableEvaluationEvent evaluationEvent)
- Description copied from interface:
DmnDecisionTableEvaluationListener
- Will be called after a decision table was evaluated.
- Specified by:
notify in interface DmnDecisionTableEvaluationListener
- Parameters:
evaluationEvent - the evaluation event
notify
public void notify(DmnDecisionEvaluationEvent evaluationEvent)
- Description copied from interface:
DmnDecisionEvaluationListener
- Will be called after a decision was evaluated.
- Specified by:
notify in interface DmnDecisionEvaluationListener
- Parameters:
evaluationEvent - the evaluation event
notifyCollector
protected void notifyCollector(DmnDecisionLogicEvaluationEvent evaluationEvent)
getExecutedDecisionElements
public long getExecutedDecisionElements()
- Specified by:
getExecutedDecisionElements in interface DmnEngineMetricCollector
- Returns:
- the number of executed decision elements since creation of this engine
clearExecutedDecisionElements
public long clearExecutedDecisionElements()
- Description copied from interface:
DmnEngineMetricCollector
- Resets the executed decision elements to 0.
- Specified by:
clearExecutedDecisionElements in interface DmnEngineMetricCollector
- Returns:
- the number of executed decision elements before resetting.
Copyright © 2017 camunda services GmbH. All rights reserved.