}
}
public MediationSummaryStatistic getSequenceStatQuarterlySummary(int serverId, String sequence,
String direction, BAMCalendar startTime, BAMCalendar endTime) throws BAMException {
BAMSummaryGenerationDSClient client = null;
try {
client = BAMUtil.getBAMSummaryGenerationDSClient();
return client.getSequenceStatQuarterlySummary(serverId, sequence, direction, startTime, endTime);
} catch (Exception e) {
throw new BAMException("Could not retrieve quarterly summary for serverId: " + serverId
+ "sequence: " + sequence + direction + " start time: " + startTime.getBAMTimestamp(), e);
} finally {
if (client != null) {
client.cleanup();
}
}
}