|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wlai.EventStatistics
public class EventStatistics
Represents all statistics known about a single Event type. This class is thread-safe.
Constructor Summary | |
---|---|
EventStatistics()
|
Method Summary | |
---|---|
int |
getErrorCount()
Get the number of times an error occurred for this event |
int |
getEventCount()
Get the number of times this event has occurred |
long |
getLastEventDeliveryTime()
Get the last time at which an event was delivered for this ApplicationView. |
int |
getParkedEventCount()
Get the number of suspended events for this event type. |
void |
incrementErrorCount()
Increment the count for this event. |
void |
incrementEventCount()
Increment the count for this event. |
void |
incrementParkedEventCount(int delta)
Increment the number of suspended events for this event type by the amount given by the delta parameter (can be negative). |
void |
resetCounts()
Reset the event and error count for this event type. |
void |
setLastEventDeliveryTime(long time)
Set the last time at which an event was delivered for this ApplicationView. |
void |
setParkedEventCount(int count)
Set the number of suspended events for this event type. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EventStatistics()
Method Detail |
---|
public int getEventCount()
public void incrementEventCount()
public int getErrorCount()
public void incrementErrorCount()
public void resetCounts()
public int getParkedEventCount()
public void setParkedEventCount(int count) throws IllegalArgumentException
IllegalArgumentException
public void incrementParkedEventCount(int delta)
public long getLastEventDeliveryTime()
public void setLastEventDeliveryTime(long time)
time
- public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |