Esri Geoportal Server
1.2.9

com.esri.gpt.control.webharvest.client.atom
Class AGPHitCountCollector

java.lang.Object
  extended by com.esri.gpt.control.webharvest.client.atom.AGPHitCountCollector
All Implemented Interfaces:
IHitCountCollector

public class AGPHitCountCollector
extends Object
implements IHitCountCollector

This class is used to collect hit count for Portal for ArcGIS harvest request.


Constructor Summary
AGPHitCountCollector(IterationContext context)
           
 
Method Summary
 int collectHitCount(Object source)
          Makes http request to json endpoint to read the hit count for the rss query url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGPHitCountCollector

public AGPHitCountCollector(IterationContext context)
Method Detail

collectHitCount

public int collectHitCount(Object source)
                    throws Exception
Makes http request to json endpoint to read the hit count for the rss query url.

Specified by:
collectHitCount in interface IHitCountCollector
Parameters:
source - the url
Returns:
hit count
Throws:
Exception

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.