com.jalios.jcms.analytics
Class AnalyzeJob

java.lang.Object
  extended by com.jalios.jcms.analytics.AnalyzeJob
All Implemented Interfaces:
Callable<Boolean>

public class AnalyzeJob
extends Object
implements Callable<Boolean>


Constructor Summary
AnalyzeJob(File analyzeFile, StatisticContext context, List<AbstractStatisticAgent> agentList, ProgressListener listener)
           
 
Method Summary
 Boolean call()
           
protected  MonitoredInputStream getFileMonitoredStream(File file)
           
protected  void readEventFile()
          Read EventData from a file and call every agent to process it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalyzeJob

public AnalyzeJob(File analyzeFile,
                  StatisticContext context,
                  List<AbstractStatisticAgent> agentList,
                  ProgressListener listener)
Method Detail

call

public Boolean call()
Specified by:
call in interface Callable<Boolean>

readEventFile

protected void readEventFile()
                      throws Exception
Read EventData from a file and call every agent to process it

Throws:
Exception - Exception thrown when reading the file

getFileMonitoredStream

protected MonitoredInputStream getFileMonitoredStream(File file)
                                               throws FileNotFoundException
Throws:
FileNotFoundException


Copyright © 2001-2010 Jalios SA. All Rights Reserved.