Esri Geoportal Server
1.2.9

com.esri.gpt.control.webharvest.engine
Class HarvesterStatisticsCollector

java.lang.Object
  extended by com.esri.gpt.control.webharvest.engine.HarvesterStatisticsCollector

public class HarvesterStatisticsCollector
extends Object

Harvest statistic collector.


Constructor Summary
HarvesterStatisticsCollector(com.esri.gpt.control.webharvest.engine.Pool pool, com.esri.gpt.control.webharvest.engine.WatchDog watchDog, com.esri.gpt.control.webharvest.engine.TaskQueue taskQueue, MessageBroker messageBroker)
          Parameterized constructor to collect web harvester engine statistics
 
Method Summary
 void writeStatistics(ResponseWriter writer, StringBuilder sb)
          Writes harvester engine statistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HarvesterStatisticsCollector

public HarvesterStatisticsCollector(com.esri.gpt.control.webharvest.engine.Pool pool,
                                    com.esri.gpt.control.webharvest.engine.WatchDog watchDog,
                                    com.esri.gpt.control.webharvest.engine.TaskQueue taskQueue,
                                    MessageBroker messageBroker)
Parameterized constructor to collect web harvester engine statistics

Parameters:
pool - the web harvester pool
watchDog - the web harvester watch dog
taskQueue - the task queue of web harvester
messageBroker - the message broker
Method Detail

writeStatistics

public void writeStatistics(ResponseWriter writer,
                            StringBuilder sb)
                     throws Exception
Writes harvester engine statistics

Parameters:
writer - the response writer
sb - the response string builder
Throws:
Exception - if exception occurs

Esri Geoportal Server
1.2.9

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