com.esri.gpt.control.webharvest.client.atom
Class AGPHitCountCollector
java.lang.Object
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.
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 |
AGPHitCountCollector
public AGPHitCountCollector(IterationContext context)
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
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.