| java.lang.Object org.cougaar.qos.qrs.DataFormula org.cougaar.qos.qrs.PollingIntegral
All known Subclasses: org.cougaar.qos.qrs.SingleKeyPollingIntegral,
PollingIntegral | abstract class PollingIntegral extends DataFormula (Code) | | This a 'rate-ifier' abstraction. It's designed to accumulate calculated
instantanteous data so that a periodic poller can supply a rate to the
client. The period is supplied as an argument. For now the assumption is that
raw values are doubles. Instantiate subclasses must provide two methods:
configureDependencies(), to set up any dependencies on other formulas, and
computeValueFromDependencies, which should calculate a new value given a
collection of dependency values.
A useful extension is SingleKeyPollingIntegral.java, a PollingIntegral which
relies on a single DataFeed value.
|
computeValueFromDependencies | abstract protected DataValue computeValueFromDependencies(Values values)(Code) | | |
configureDependencies | abstract protected void configureDependencies()(Code) | | |
|
|