Methods Summary |
---|
public javax.management.j2ee.statistics.Statistic | getStatistic(java.lang.String str)This is an implementation of the mandatory JSR77 Stats
interface method.
Here we simply delegate it to the GenericStatsImpl object
that we have
return gsImpl.getStatistic( str );
|
public java.lang.String[] | getStatisticNames()This is an implementation of the mandatory JSR77 Stats
interface method.
Here we simply delegate it to the GenericStatsImpl object
that we have
return gsImpl.getStatisticNames();
|
public javax.management.j2ee.statistics.Statistic[] | getStatistics()This is an implementation of the mandatory JSR77 Stats
interface method.
Here we simply delegate it to the GenericStatsImpl object
that we have
return gsImpl.getStatistics();
|
protected javax.management.j2ee.statistics.RangeStatistic | getUpdatedRangeStatistic(javax.management.j2ee.statistics.RangeStatistic originalStat, long currentValue, long maxValue, long minValue)A utility method to update a range statistic
return new RangeStatisticImpl(currentValue, maxValue, minValue,
originalStat.getName(), originalStat.getUnit(),
originalStat.getDescription(), originalStat.getStartTime(),
System.currentTimeMillis());
|