Methods Summary |
---|
public void | addAttribute(com.sun.enterprise.jmx.kstat.kstat$kstatAttribute attr)
mAttributes.put( attr.mName, attr );
|
java.util.Set | getAttributeNames()
return( mAttributes.keySet() );
|
java.lang.Class | getAttributeType(java.lang.String name)
final Object value = getValue( name );
return( value.getClass() );
|
int | getInstanceNumber()
return( mInstanceNumber );
|
java.lang.String | getModuleName()
return( mModuleName );
|
java.lang.String | getName()
return( mkstatName );
|
public static java.lang.String | getScopedName(java.lang.String moduleName, int instanceNumber, java.lang.String name)
return( getScopedName( moduleName, instanceNumber, name, ':" ) );
|
java.lang.String | getScopedName(char delim)
return( getScopedName( mModuleName, mInstanceNumber, mkstatName, delim ) );
|
java.lang.String | getScopedName()
return( getScopedName( ':" ) );
|
public static java.lang.String | getScopedName(java.lang.String moduleName, int instanceNumber, java.lang.String name, char delim)
return( moduleName + delim + instanceNumber + delim + name );
|
public java.lang.Object | getValue(java.lang.String attributeName)
final kstatAttribute attr = (kstatAttribute)mAttributes.get( attributeName );
Object value = null;
if ( attr != null )
{
value = attr.mValue;
}
return( value );
|
public java.lang.String | toString()
return( getScopedName( ':" ) + "\n" + SmartStringifier.toString( mAttributes ) );
|