public class StatsUtilities extends Object
Modifier and Type | Field and Description |
---|---|
static NSTimestampFormatter |
dateFormatter |
Constructor and Description |
---|
StatsUtilities() |
Modifier and Type | Method and Description |
---|---|
static Float |
actualTransactionsPerSecondForApplication(MApplication anApp) |
protected static Integer |
sumStatisticOfActiveInstances(MApplication monitoredApplication,
String statisticsKey)
Calculates and returns the sum of the statistic indicated by the given statisticsKey for
the running instances of the given monitored application.
|
static Integer |
totalActiveSessionsForActiveInstancesOfApplication(MApplication monitoredApplication)
Returns the total number of active sessions for running instances of the given monitored application
If the monitored application has no running instances, returns Integer.valueOf(0)
|
static Integer |
totalActiveSessionsForApplication(MApplication anApp) |
static Float |
totalAverageIdleTimeForApplication(MApplication anApp) |
static Float |
totalAverageTransactionForApplication(MApplication anApp) |
static Integer |
totalTransactionsForActiveInstancesOfApplication(MApplication monitoredApplication)
Returns the total number of transactions for running instances of the given monitored application
If the monitored application has no running instances, returns Integer.valueOf(0)
|
static Integer |
totalTransactionsForApplication(MApplication anApp) |
public static NSTimestampFormatter dateFormatter
public static Integer totalTransactionsForApplication(MApplication anApp)
public static Integer totalTransactionsForActiveInstancesOfApplication(MApplication monitoredApplication)
monitoredApplication
- public static Integer totalActiveSessionsForApplication(MApplication anApp)
public static Integer totalActiveSessionsForActiveInstancesOfApplication(MApplication monitoredApplication)
monitoredApplication
- protected static Integer sumStatisticOfActiveInstances(MApplication monitoredApplication, String statisticsKey)
monitoredApplication
- statisticsKey
- public static Float totalAverageTransactionForApplication(MApplication anApp)
public static Float totalAverageIdleTimeForApplication(MApplication anApp)
public static Float actualTransactionsPerSecondForApplication(MApplication anApp)
Copyright © 2002 – 2024 Project Wonder.