BAMServiceSummaryDSClient serviceSummaryDSClient = null;
try {
serviceSummaryDSClient = BAMUtil.getBAMServiceSummaryDSClient();
return serviceSummaryDSClient.getOperationStatQuarterlySummary(opId, startTime, endTime);
} catch (Exception e) {
throw new BAMException("Could not retrieve quarterly summary for operation: " + opId
+ " start time: " + startTime.getBAMTimestamp(), e);
} finally {
if (serviceSummaryDSClient != null) {
serviceSummaryDSClient.cleanup();
}