org.camunda.bpm.dmn.engine.impl
Class DmnEngineMetricCollectorImpl
java.lang.Object
org.camunda.bpm.dmn.engine.impl.DmnEngineMetricCollectorImpl
- All Implemented Interfaces:
- DmnDecisionTableListener, DmnEngineMetricCollector
public class DmnEngineMetricCollectorImpl
- extends Object
- implements DmnEngineMetricCollector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
executedDecisionElements
protected AtomicLong executedDecisionElements
DmnEngineMetricCollectorImpl
public DmnEngineMetricCollectorImpl()
notify
public void notify(DmnDecisionTable decisionTable,
DmnDecisionTableResult decisionTableResult)
- Description copied from interface:
DmnDecisionTableListener
- Will be called after a decision table was evaluated.
- Specified by:
notify in interface DmnDecisionTableListener
- Parameters:
decisionTable - the evaluated decision tabledecisionTableResult - the result of the decision table evaluation
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 © 2015 camunda services GmbH. All rights reserved.