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