public class DmnEngineMetricCollectorWrapper extends Object implements DmnEngineMetricCollector, DmnDecisionEvaluationListener
| Modifier and Type | Field and Description | 
|---|---|
| protected DmnEngineMetricCollector | collector | 
| Constructor and Description | 
|---|
| DmnEngineMetricCollectorWrapper(DmnEngineMetricCollector collector) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | clearExecutedDecisionElements()Resets the executed decision elements to 0. | 
| long | getExecutedDecisionElements() | 
| void | notify(DmnDecisionEvaluationEvent evaluationEvent)Will be called after a decision was evaluated. | 
| void | notify(DmnDecisionTableEvaluationEvent evaluationEvent)Will be called after a decision table was evaluated. | 
| protected void | notifyCollector(DmnDecisionLogicEvaluationEvent evaluationEvent) | 
protected final DmnEngineMetricCollector collector
public DmnEngineMetricCollectorWrapper(DmnEngineMetricCollector collector)
public void notify(DmnDecisionTableEvaluationEvent evaluationEvent)
DmnDecisionTableEvaluationListenernotify in interface DmnDecisionTableEvaluationListenerevaluationEvent - the evaluation eventpublic void notify(DmnDecisionEvaluationEvent evaluationEvent)
DmnDecisionEvaluationListenernotify in interface DmnDecisionEvaluationListenerevaluationEvent - the evaluation eventprotected void notifyCollector(DmnDecisionLogicEvaluationEvent evaluationEvent)
public long getExecutedDecisionElements()
getExecutedDecisionElements in interface DmnEngineMetricCollectorpublic long clearExecutedDecisionElements()
DmnEngineMetricCollectorclearExecutedDecisionElements in interface DmnEngineMetricCollectorCopyright © 2018. All rights reserved.