public class StatCollection
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StatCollection.Stattype
Total number of requests
incomplete abandoned cancelled
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Services,StatProcessor> |
allStat |
private java.util.Map<Services,StatProcessor> |
clusterStat |
private java.util.Map<Services,StatProcessor> |
localStat |
private static org.apache.log4j.Logger |
log |
Constructor and Description |
---|
StatCollection() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Map<Services,StatProcessor> |
getAllStat() |
java.util.Map<Services,StatProcessor> |
getClusterStat() |
private static Totals |
getJobCounts(java.util.Date from,
java.util.Date to) |
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() |
private java.util.Map<Services,StatProcessor> allStat
private java.util.Map<Services,StatProcessor> clusterStat
private java.util.Map<Services,StatProcessor> localStat
private static final org.apache.log4j.Logger log
public java.util.Map<Services,StatProcessor> getAllStat()
public java.util.Map<Services,StatProcessor> getClusterStat()
public java.util.Map<Services,StatProcessor> getLocalStat()
public static java.util.Map<java.util.Date,Totals> getStats(int monthsToReport) throws java.sql.SQLException
java.sql.SQLException
public static java.util.Map<java.util.Date,Totals> getStats(java.util.Date fromDate) throws java.sql.SQLException
java.sql.SQLException
private static Totals getJobCounts(java.util.Date from, java.util.Date to) throws java.sql.SQLException
java.sql.SQLException
public static StatCollection newStatCollecton(java.util.Date startDate, java.util.Date endDate) throws java.sql.SQLException
java.sql.SQLException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object