|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapStatistic
A Statistic which contains its members in a Map.
Method Summary | |
---|---|
Map<String,Object> |
asMap()
|
int |
getint(String name)
Get a Statistic value which is expected to be an Integer (int) |
long |
getlong(String name)
Get a Statistic value which is expected to be a Long (long) |
String |
getString(String name)
Get a Statistic value which is expected to be a String |
Object |
getValue(String name)
Get a Statistic value which is expected to be any Object |
String |
setName(String newName)
Set the name of this Statistic |
String |
toString()
|
Set |
valueNames()
Get the values associated with this statistic. |
Methods inherited from interface javax.management.j2ee.statistics.Statistic |
---|
getDescription, getLastSampleTime, getName, getStartTime, getUnit |
Method Detail |
---|
long getlong(String name)
int getint(String name)
String getString(String name)
Object getValue(String name)
String setName(String newName)
Set valueNames()
Map<String,Object> asMap()
String toString()
toString
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.