FileDocCategorySizeDatePackage
StatisticFactory.javaAPI DocGlassfish v2 API3190Fri May 04 22:25:56 BST 2007com.sun.enterprise.admin.monitor.util

StatisticFactory

public class StatisticFactory extends Object
Moc factory to serve up appropriate Statistic objects
author
sg112326

Fields Summary
Constructors Summary
Methods Summary
public static BoundedRangeStatisticgetBoundedRangeStatistic(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 CountStatisticgetCountStatistic(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);