|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.message.MessageCounterStatistics
public class MessageCounterStatistics
Extraction of core from MessageCounter bean.
Constructor Summary | |
---|---|
MessageCounterStatistics()
Constructor. |
Method Summary | |
---|---|
java.lang.Double |
getAverageSuccessTime()
Get the average time to process a message. |
long |
getFailedBytes()
|
int |
getFailedMessageCount()
Get the total number of failed messages. |
java.lang.String |
getLastFailedMessageDate()
Get the time the last message was processed at. |
java.lang.String |
getLastSuccessfulMessageDate()
Get the time the last message was processed at. |
static MessageCounterStatistics |
getMessageCounterStatistics()
|
long |
getProcessedBytes()
|
int |
getSuccessfulMessageCount()
Get the total number of successfully processed messages. |
int |
getTotalMessageCount()
Get the total number of processed messages, both successful and failed. |
void |
resetCounts()
Reset the counts - this resets the totals and the last message time. |
void |
update(MessageStatusBean msb)
Update the message counter based on the MessageStatusBean that is returned from the observable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageCounterStatistics()
Method Detail |
---|
public int getFailedMessageCount()
public java.lang.String getLastSuccessfulMessageDate()
public java.lang.String getLastFailedMessageDate()
public int getTotalMessageCount()
public int getSuccessfulMessageCount()
public long getProcessedBytes()
public long getFailedBytes()
public void update(MessageStatusBean msb)
o
- the observable objectarg
- the MessageStatusBeanpublic java.lang.Double getAverageSuccessTime()
public void resetCounts()
public static MessageCounterStatistics getMessageCounterStatistics()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |