| java.lang.Object com.versant.core.metric.Metric com.versant.core.metric.DerivedMetric com.versant.core.metric.SumMetric
SumMetric | public class SumMetric extends DerivedMetric (Code) | | A performance metric that is the sum of two other metrics.
|
Method Summary | |
public double | get(MetricDataSource dataSet, int firstSampleNo, int lastSampleNo, int calc, double seconds) Get the value of this metric for the given range of samples in the
data set. | public int | getArgCount() How many arguments does this metric accept? Return 0 for any number
of arguments. | public int | getDefaultCalc() What calculation method makes the most sense for this Metric. |
get | public double get(MetricDataSource dataSet, int firstSampleNo, int lastSampleNo, int calc, double seconds)(Code) | | Get the value of this metric for the given range of samples in the
data set.
Parameters: dataSet - The raw data Parameters: firstSampleNo - The first sample Parameters: lastSampleNo - The last sample (inclusive) Parameters: calc - The duration of the sample range in seconds |
getArgCount | public int getArgCount()(Code) | | How many arguments does this metric accept? Return 0 for any number
of arguments.
|
getDefaultCalc | public int getDefaultCalc()(Code) | | What calculation method makes the most sense for this Metric.
|
Methods inherited from com.versant.core.metric.DerivedMetric | abstract public int getArgCount()(Code)(Java Doc)
|
|
|