StatisticFactorypublic class StatisticFactory extends Object
Constructors Summary |
---|
public StatisticFactory()Creates a new instance of StatisticFactory
|
Methods Summary |
---|
public static BoundaryStatistic | getBoundaryStatistic(long lower, long upper, java.lang.String name, java.lang.String unit, java.lang.String desc, long startTime, long sampleTime)returns an instance of the BoundaryStatistic
return new BoundaryStatisticImpl(lower, upper, name, unit, desc,
startTime, sampleTime);
| public static BoundedRangeStatistic | getBoundedRangeStatistic(long curVal, long highMark, long lowMark, long upper, long lower, java.lang.String name, java.lang.String unit, java.lang.String desc, long startTime, long sampleTime)returns an instance of the BoundedRangeStatistic
return new BoundedRangeStatisticImpl(curVal, highMark, lowMark,
upper, lower, name, unit,
desc, startTime, sampleTime);
| public static CountStatistic | getCountStatistic(long countVal, java.lang.String name, java.lang.String unit, java.lang.String desc, long sampleTime, long startTime)returns an instance of the CountStatistic
return new CountStatisticImpl(countVal, name, unit, desc,
sampleTime, startTime);
| public static RangeStatistic | getRangeStatistic(long curVal, long highMark, long lowMark, java.lang.String name, java.lang.String unit, java.lang.String desc, long startTime, long sampleTime)returns an instance of the RangeStatistic
return new RangeStatisticImpl(curVal, highMark, lowMark, name,
unit, desc, startTime, sampleTime);
| public static TimeStatistic | getTimeStatistic(long counter, long maxTime, long minTime, long totalTime, java.lang.String name, java.lang.String unit, java.lang.String desc, long startTime, long sampleTime)returns an instance of the TimeStatistic
return new TimeStatisticImpl(counter, maxTime, minTime, totalTime,
name, unit, desc, startTime, sampleTime);
|
|