edu.wpi.cs.dsrg.xmldb.xat.component.statisticsgatherer
Class TimeSpentEvaluatingRulesTotal
java.lang.Object
|
+--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp
|
+--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
|
+--edu.wpi.cs.dsrg.xmldb.xat.component.statisticsgatherer.StatisticsObject
|
+--edu.wpi.cs.dsrg.xmldb.xat.component.statisticsgatherer.AggregateStatisticsObject
|
+--edu.wpi.cs.dsrg.xmldb.xat.component.statisticsgatherer.TimeSpentEvaluatingRulesTotal
- public class TimeSpentEvaluatingRulesTotal
- extends AggregateStatisticsObject
Insert the type's description here.
Creation date: (2/12/2003 5:27:18 PM)
- See Also:
- Serialized Form
Method Summary |
void |
calculateNewValue()
This is semantically the same as calculateNewValue(), but this
provides a parameter which assists in the calculation. |
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.component.statisticsgatherer.StatisticsObject |
calculateNewValue,
compareTo,
equals,
getAssociatedQueryObject,
getCategory,
getPropertyName,
getPropertyValue,
setAssociatedQueryObject,
setCategory,
setPropertyName,
toString |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
TimeSpentEvaluatingRulesTotal
public TimeSpentEvaluatingRulesTotal()
- TimeSpentEvaluatingRulesTotal constructor comment.
TimeSpentEvaluatingRulesTotal
public TimeSpentEvaluatingRulesTotal(java.lang.String name,
XATOperator operator)
- TimeSpentEvaluatingRulesTotal constructor comment.
- Parameters:
name
- java.lang.Stringoperator
- edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperator
calculateNewValue
public void calculateNewValue()
- This is semantically the same as calculateNewValue(), but this
provides a parameter which assists in the calculation.
Calculates the new Value of the given property of this operator. This
should be overwritten by subclasses who can tailor this method to calculating 1
specific property.
This method should update at least the local propertyValue and possibly the
value with the operator The entire StatisticsGatherer is available for assistance.
The procedure for calculating new values should be as follows:
- Consult the statsTable for any propertyValues that are needed.
- Perform the required calculations using the propertyValues from step 1
- Update the local propertyValue.
- Update the lastTimeUpdated value by using lastTimeUpdated = System.currentTimeMillis();
- Overrides:
- calculateNewValue in class StatisticsObject