try {
SummaryPersistenceManager spm = SummaryPersistenceManager.getInstance();
HourDimension hd = spm.getHourDimension(loHour);
if (hd == null) {
spm.addHourDimension(loHour);
hd = spm.getHourDimension(loHour);
}
MediationSummaryStatistic stat = spm.getEndpointStatHourlySummary(getServer().getId(),
getEndpoint().getName(), getEndpoint().getDirection(), loHour, hiHour);