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

StatisticMock

public class StatisticMock extends Object implements Statistic
Moc implementation of Statistic interface
author
sg112326

Fields Summary
protected String
name
protected String
unit
protected String
description
protected long
startTime
protected long
sampleTime
Constructors Summary
public StatisticMock(String name, String unit, String desc, long startTime, long sampleTime)
Creates a new instance of StatisticImpl

           
               
            this.name=name;
            this.unit=unit;
            this.description=description;
            this.startTime=startTime;
            this.sampleTime=sampleTime;            
    
Methods Summary
public java.lang.StringgetDescription()

        return description;
    
public longgetLastSampleTime()

        return sampleTime;
    
public java.lang.StringgetName()

        return name;
    
public longgetStartTime()

        return startTime;
    
public java.lang.StringgetUnit()

        return unit;