|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.management.j2ee.statistics.StatisticImpl
public class StatisticImpl
Implementation of Statistic which records its values in member variables.
Field Summary | |
---|---|
protected long |
mLastSampleTime
|
Constructor Summary | |
---|---|
StatisticImpl(Statistic s)
|
|
StatisticImpl(String name,
String description,
String unit,
long startTime,
long lastSampleTime)
|
Method Summary | |
---|---|
boolean |
equals(Object rhs)
|
String |
getDescription()
Get the description for this Statistic |
long |
getLastSampleTime()
Get the last sample time for this Statistic |
String |
getName()
Get the name of this Statistic |
long |
getStartTime()
Get the start time for this Statistic |
String |
getUnit()
Get the units associated with this statistic. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected long mLastSampleTime
Constructor Detail |
---|
public StatisticImpl(String name, String description, String unit, long startTime, long lastSampleTime)
public StatisticImpl(Statistic s)
Method Detail |
---|
public String getDescription()
getDescription
in interface Statistic
public long getLastSampleTime()
getLastSampleTime
in interface Statistic
public String getName()
getName
in interface Statistic
public long getStartTime()
getStartTime
in interface Statistic
public String getUnit()
getUnit
in interface Statistic
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object rhs)
equals
in class Object
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.