Examples of BAMSummaryGenerationDSClient


Examples of org.wso2.carbon.bam.common.clients.BAMSummaryGenerationDSClient

    }
  }

  public MediationSummaryStatistic getEndpointStatYearlySummary(int serverId, String endpoint,
      String direction, BAMCalendar startTime, BAMCalendar endTime) throws BAMException {
        BAMSummaryGenerationDSClient client = null;
    try {
            client = BAMUtil.getBAMSummaryGenerationDSClient();
      return client.getEndpointStatYearlySummary(serverId, endpoint, direction, startTime, endTime);
    } catch (Exception e) {
      throw new BAMException("Could not retrieve yearly summary for serverId: " + serverId
          + "endpoint: " + endpoint + direction + " start time: " + startTime.getBAMTimestamp(), e);
    } finally {
      if (client != null) {
          client.cleanup();
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.