|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.infrared.agent.StatisticsMgr
This class is responsible for managing the global statistics Incremental statistics updates are merged with the global instance StatisticsMgr ensures that there is a single Statistics object for each application instance. This statistics object represents the performance data for that application instance.
| Field Summary | |
static String |
ALL_VALUE
|
| Constructor Summary | |
StatisticsMgr()
|
|
| Method Summary | |
static Set |
getListOfApplications()
Return the list of application names for which the statistics is available |
static Set |
getListOfInstances(Set applicationNames)
Return the list of instances of a set of applications for which the statistics is available. |
static Set |
getListOfInstances(String applicationName)
Return the list of instances of an application for which the statistics is available. |
static PerformanceDataSnapShot |
getPerformanceData()
Copy the statistics data and return a snap shot. |
static PerformanceDataSnapShot |
getPerformanceData(Set applicationNames,
Set instanceNames)
Merges statistics for a set of applications & instances |
static PerformanceDataSnapShot |
getPerformanceData(String applicationName,
String instanceName)
Retrieve Snap shot for a given application instance. |
static void |
merge(Statistics stats)
Merge statistics of one request with the global statistics |
static List |
reset()
Reset the statistics and return the snap shot of the current state |
static List |
reset(Set applications,
Set instances)
|
static PerformanceDataSnapShot |
reset(String applicationName,
String instanceName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String ALL_VALUE
| Constructor Detail |
public StatisticsMgr()
| Method Detail |
public static PerformanceDataSnapShot getPerformanceData()
public static PerformanceDataSnapShot getPerformanceData(String applicationName,
String instanceName)
applicationName - instanceName -
public static PerformanceDataSnapShot getPerformanceData(Set applicationNames,
Set instanceNames)
applicationNames - instanceNames -
public static List reset()
public static List reset(Set applications,
Set instances)
public static PerformanceDataSnapShot reset(String applicationName,
String instanceName)
public static void merge(Statistics stats)
stats - public static Set getListOfApplications()
public static Set getListOfInstances(String applicationName)
applicationName -
public static Set getListOfInstances(Set applicationNames)
applicationNames -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||