|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.wlai.ApplicationViewStatistics
public class ApplicationViewStatistics
Represents all statistics known about a single ApplicationView. This class is thread-safe.
Constructor Summary | |
---|---|
ApplicationViewStatistics(String id)
|
|
ApplicationViewStatistics(String id,
Iterator eventNames,
Iterator serviceNames)
|
Method Summary | |
---|---|
void |
addAsyncServiceWaitTime(long time)
Add a individual wait time (in milliseconds) for a single request that was just processed off the async service request queue. |
void |
combine(ApplicationViewStatistics stats)
Aggregate the given statistics with this statistics object. |
long |
getAverageAsyncServiceWaitTime()
Get the average number of milliseconds async service requests wait on the async service request queue before being processed. |
EventStatistics |
getEventStatistics(String eventName,
boolean forUpdate)
Get an EventStatistics instance representing stats for the event given by eventName, or aggregate stats across all events for this AppView if eventName is null. |
String |
getID()
Get the ID of the ApplicationView these statistics represent. |
long |
getLastEventCountResetTime()
Get the last time at which event counts were reset. |
long |
getLastEventDeliveryTime()
Get the last time at which an event was delivered for this AppView. |
long |
getLastServiceCountResetTime()
Get the last time at which service counts were reset. |
long |
getLastServiceInvocationTime()
Get the last time at which a service was invoked on this AppView. |
ServiceStatistics |
getServiceStatistics(String serviceName,
boolean forUpdate)
Get a ServiceStatistics instance representing stats for the service given by serviceName, or aggregate stats across all services for this AppView if serviceName is null. |
void |
resetEventCounts()
Reset all raw event counters to 0 (this does not include suspended event count), and note the time at which the counts were reset. |
void |
resetServiceCounts()
Reset all raw service counters to 0 (this does not include suspended service count), and note the time at which the counts were reset. |
void |
resetSuspendedAsyncServiceCounts()
Reset the suspended async service count for all services on this AppView to zero. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationViewStatistics(String id)
public ApplicationViewStatistics(String id, Iterator eventNames, Iterator serviceNames)
Method Detail |
---|
public void combine(ApplicationViewStatistics stats)
stats
- public String getID()
public EventStatistics getEventStatistics(String eventName, boolean forUpdate)
public ServiceStatistics getServiceStatistics(String serviceName, boolean forUpdate)
public void resetEventCounts()
public void resetServiceCounts()
public long getLastEventCountResetTime()
public long getLastServiceCountResetTime()
public void resetSuspendedAsyncServiceCounts()
public long getLastEventDeliveryTime()
public long getLastServiceInvocationTime()
public long getAverageAsyncServiceWaitTime()
public void addAsyncServiceWaitTime(long time)
time
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |