public interface MetricFunction<N>
Modifier and Type | Method and Description |
---|---|
void |
init(Fact fact,
Measurement measurement,
MetricNode startNode,
DimensionHierarchy dh)
Perform state initialization for the entire computation when a new
Fact is asserted. |
void init(Fact fact, Measurement measurement, MetricNode startNode, DimensionHierarchy dh) throws java.lang.Exception
Fact
is asserted.fact
- The newly asserted factstartNode
- Some cases framework passes startNode of the hierarchy chain.metricFunctionDescriptor
- The descriptor associated with this metric computation.java.lang.Exception
- The implementation may throw an exceptionCopyright © 2000-2014 TIBCO Inc. All Rights Reserved.