com.tibco.rta.runtime.metric
Interface MetricFunction<N>
- All Known Implementing Classes:
- AbstractMetricFunction, MultiValueMetricFunction, SingleValueMetricFunction
public interface MetricFunction<N>
Providers of metric computations should implement this interface. The metric computation engine
will call into this interface's compute method in order to acquire its metric value.
init
void init(Fact fact,
Measurement measurement,
MetricNode startNode,
DimensionHierarchy dh)
throws java.lang.Exception
- Perform state initialization for the entire computation when a new
Fact
is asserted.
- Parameters:
fact
- The newly asserted factstartNode
- Some cases framework passes startNode of the hierarchy chain.metricFunctionDescriptor
- The descriptor associated with this metric computation.
- Throws:
java.lang.Exception
- The implementation may throw an exception- Please refer
- MetricDescriptor
Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.