Package com.esri.gpt.server.usage.harvester

Examples of com.esri.gpt.server.usage.harvester.HarvesterStatisticsBuilder


   */
   public GeoportalUsageInformation buildUsageReport(StatisticsRequestContext statRequestCtx) throws Exception{
     GeoportalUsageInformation geoportalStats = new GeoportalUsageInformation();
     String[] restUriParts = statRequestCtx.getRestUriParts();
     if(statRequestCtx.getRequestType().equalsIgnoreCase(StatisticsTypes.HARVESTER.toString())){
       HarvesterStatisticsBuilder harvesterStats = new HarvesterStatisticsBuilder(statRequestCtx);
       if(restUriParts.length >= 6 && restUriParts[5].equalsIgnoreCase(StatisticsMetrics.CONFIG.toString())){
         harvesterStats.buildEnvironmentStatistics();
       }else{
         harvesterStats.buildStatistics();
       }
       geoportalStats.setHarvesterStats(harvesterStats);
     }else{
      
     }
View Full Code Here

TOP

Related Classes of com.esri.gpt.server.usage.harvester.HarvesterStatisticsBuilder

Copyright © 2018 www.massapicom. 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.