compbio.stat.collector
Class StatProcessor

java.lang.Object
  extended by compbio.stat.collector.StatProcessor

public class StatProcessor
extends Object


Constructor Summary
StatProcessor(List<JobStat> stats)
           
 
Method Summary
 List<JobStat> getAbandonedJobs()
          Not collected.
 List<JobStat> getCancelledJobs()
           
 List<JobStat> getClusterJobs()
           
 List<JobStat> getFailedJobs()
          Started & finished but did not produce result
 List<JobStat> getIncompleteJobs()
           
 int getJobNumber()
           
 List<JobStat> getJobs()
           
 List<JobStat> getLocalJobs()
           
 StatProcessor getSingleWSStat(Services webService)
           
 long getTotalRuntime()
           
 String reportStat()
           
 List<JobStat> sortByResultSize()
           
 List<JobStat> sortByRuntime()
           
 List<JobStat> sortByStartTime()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatProcessor

public StatProcessor(List<JobStat> stats)
Method Detail

getClusterJobs

public List<JobStat> getClusterJobs()

getLocalJobs

public List<JobStat> getLocalJobs()

getAbandonedJobs

public List<JobStat> getAbandonedJobs()
Not collected. Excludes all cancelled jobs, and jobs with no results as these are reported separately.


getFailedJobs

public List<JobStat> getFailedJobs()
Started & finished but did not produce result

Returns:

getCancelledJobs

public List<JobStat> getCancelledJobs()

sortByRuntime

public List<JobStat> sortByRuntime()

sortByStartTime

public List<JobStat> sortByStartTime()

sortByResultSize

public List<JobStat> sortByResultSize()

getJobNumber

public int getJobNumber()

getJobs

public List<JobStat> getJobs()

getSingleWSStat

public StatProcessor getSingleWSStat(Services webService)

getTotalRuntime

public long getTotalRuntime()

getIncompleteJobs

public List<JobStat> getIncompleteJobs()

reportStat

public String reportStat()

toString

public String toString()
Overrides:
toString in class Object