|
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.MapStatisticImpl
Generic implementation of Statistic which contains its members in a Map.
| Constructor Summary | |
MapStatisticImpl(java.util.Map map)
|
|
MapStatisticImpl(Statistic statistic)
|
|
| Method Summary | |
java.util.Map |
asMap()
|
boolean |
equals(java.lang.Object rhs)
|
java.lang.String |
getDescription()
Get the description for this Statistic |
int |
getint(java.lang.String name)
Get a Statistic value which is expected to be an Integer (int) |
long |
getLastSampleTime()
Get the last sample time for this Statistic |
long |
getlong(java.lang.String name)
Get a Statistic value which is expected to be a Long (long) |
java.lang.String |
getName()
Get the name of this Statistic |
long |
getStartTime()
Get the start time for this Statistic |
java.lang.String |
getString(java.lang.String name)
Get a Statistic value which is expected to be a String |
java.lang.String |
getUnit()
Get the units associated with this statistic. |
java.lang.Object |
getValue(java.lang.String name)
Get a Statistic value which is expected to be any Object |
java.lang.String |
setName(java.lang.String newName)
Get the name of this Statistic |
java.lang.String |
toString()
|
java.util.Set |
valueNames()
Get the fields associated with this statistic. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MapStatisticImpl(java.util.Map map)
public MapStatisticImpl(Statistic statistic)
| Method Detail |
public final long getlong(java.lang.String name)
getlong in interface MapStatisticpublic final int getint(java.lang.String name)
getint in interface MapStatisticpublic final java.lang.String getString(java.lang.String name)
getString in interface MapStatisticpublic final java.lang.Object getValue(java.lang.String name)
getValue in interface MapStatisticpublic java.lang.String getDescription()
getDescription in interface Statisticpublic long getLastSampleTime()
getLastSampleTime in interface Statisticpublic java.lang.String getName()
getName in interface Statisticpublic java.lang.String setName(java.lang.String newName)
setName in interface MapStatisticpublic long getStartTime()
getStartTime in interface Statisticpublic java.lang.String getUnit()
getUnit in interface Statisticpublic java.util.Set valueNames()
valueNames in interface MapStatisticpublic java.util.Map asMap()
asMap in interface MapStatisticpublic java.lang.String toString()
toString in interface MapStatisticpublic 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.