.getLastSampleTime());
mbeanStat.add(new String[] { "Last Sample Time",
lastSampleTime.toString() });
if (statistic instanceof CountStatistic) {
CountStatistic cStat = (CountStatistic) statistic;
long count = cStat.getCount();
mbeanStat.add(new String[] { "Count",
Long.toString(count) });
} else if (statistic instanceof TimeStatistic) {
TimeStatistic tStat = (TimeStatistic) statistic;
long count = tStat.getCount();