Methods Summary |
---|
public javax.management.j2ee.statistics.Statistic | getStatistic(java.lang.String statisticName)
final CompositeData statData = (CompositeData)mItems.get( statisticName );
if ( statData == null && ! mItems.containsKey( statisticName ) )
{
throw new IllegalArgumentException( statisticName );
}
return( new CompositeDataStatistic( statData ) );
|
public java.lang.String[] | getStatisticNames()
final Set<String> nameSet = mItems.keySet();
return( (String[])nameSet.toArray( new String[ nameSet.size() ] ) );
|
public javax.management.j2ee.statistics.Statistic[] | getStatistics()
final String[] names = getStatisticNames();
final Statistic[] statistics = new Statistic[ names.length ];
for( int i = 0; i < names.length; ++i )
{
statistics[ i ] = getStatistic( names[ i ] );
}
return( statistics );
|