FileDocCategorySizeDatePackage
MapStatistic.javaAPI DocGlassfish v2 API3265Fri May 04 22:30:52 BST 2007com.sun.appserv.management.j2ee.statistics

MapStatistic

public interface MapStatistic implements javax.management.j2ee.statistics.Statistic
A Statistic which contains its members in a Map.

Fields Summary
Constructors Summary
Methods Summary
public java.util.MapasMap()

public java.lang.StringgetString(java.lang.String name)
Get a Statistic value which is expected to be a String

public java.lang.ObjectgetValue(java.lang.String name)
Get a Statistic value which is expected to be any Object

public intgetint(java.lang.String name)
Get a Statistic value which is expected to be an Integer (int)

public longgetlong(java.lang.String name)
Get a Statistic value which is expected to be a Long (long)

public java.lang.StringsetName(java.lang.String newName)
Set the name of this Statistic

public java.lang.StringtoString()

public java.util.SetvalueNames()
Get the values associated with this statistic. Note the name--"get" is avoided so it won't be introspected as another Statistic field.

return
an unmodifiableSet of the field names (String)