com.tibco.rta.runtime.metric
Class AbstractMetricFunction<N>
java.lang.Object
com.tibco.rta.runtime.metric.AbstractMetricFunction<N>
- Type Parameters:
N
- The data type of the metric computation.
- All Implemented Interfaces:
- MetricFunction<N>
- Direct Known Subclasses:
- MultiValueMetricFunction, SingleValueMetricFunction
public abstract class AbstractMetricFunction<N>
- extends java.lang.Object
- implements MetricFunction<N>
An abstract metric function. Metric function implementations will indirectly extend this
as a result of extending either SingleValue of MultiValueMetricFunction.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMetricFunction
public AbstractMetricFunction()
init
public void init(Fact fact,
Measurement measurement,
MetricNode startNode,
DimensionHierarchy dh)
throws java.lang.Exception
- Description copied from interface:
MetricFunction
- Perform state initialization for the entire computation when a new
Fact
is asserted.
- Specified by:
init
in interface MetricFunction<N>
- Parameters:
fact
- The newly asserted factstartNode
- Some cases framework passes startNode of the hierarchy chain.
- Throws:
java.lang.Exception
- The implementation may throw an exception
Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.