compbio.stat.servlet.util
Class StatCollection

java.lang.Object
  extended by compbio.stat.servlet.util.StatCollection

public class StatCollection
extends java.lang.Object


Nested Class Summary
static class StatCollection.Stattype
          Total number of requests incomplete abandoned cancelled
 
Constructor Summary
StatCollection()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Map<Services,StatProcessor> getAllStat()
           
 java.util.Map<Services,StatProcessor> getClusterStat()
           
 java.util.Map<Services,StatProcessor> getLocalStat()
           
static java.util.Map<java.util.Date,Totals> getStats(java.util.Date fromDate)
           
static java.util.Map<java.util.Date,Totals> getStats(int monthsToReport)
           
 int hashCode()
           
static StatCollection newStatCollecton(java.util.Date startDate, java.util.Date endDate)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatCollection

public StatCollection()
Method Detail

getAllStat

public java.util.Map<Services,StatProcessor> getAllStat()

getClusterStat

public java.util.Map<Services,StatProcessor> getClusterStat()

getLocalStat

public java.util.Map<Services,StatProcessor> getLocalStat()

getStats

public static java.util.Map<java.util.Date,Totals> getStats(int monthsToReport)
                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getStats

public static java.util.Map<java.util.Date,Totals> getStats(java.util.Date fromDate)
                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

newStatCollecton

public static StatCollection newStatCollecton(java.util.Date startDate,
                                              java.util.Date endDate)
                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object