StatisticFactorypublic class StatisticFactory extends Object Moc factory to serve up appropriate Statistic objects |
Methods Summary |
---|
public static BoundedRangeStatistic | getBoundedRangeStatistic(long current, long highWater, long lowWater, long upperBound, long lowerBound, java.lang.String name, java.lang.String unit, java.lang.String desc, long sampleTime, long startTime)
return new BoundedRangeStatisticMock(current, highWater, lowWater, upperBound,
lowerBound, name, unit, desc, sampleTime, startTime);
| public static CountStatistic | getCountStatistic(long countVal, java.lang.String name, java.lang.String unit, java.lang.String desc, long sampleTime, long startTime)
return new CountStatisticImplMock(countVal, name, unit, desc, sampleTime,
startTime);
|
|