public class MessagingStatistics extends Object
| Constructor and Description |
|---|
MessagingStatistics() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTotalExchangeTimeToClose(long timeToClose)
Add the time to close a Message Exchange to the running total used to
compute the average.
|
void |
decrementActiveExchanges()
Decrement the current number of active message exchanges.
|
long |
getAcceptExchanges()
Get the total number of Message Exchange accept operations since the last message
service startup.
|
long |
getAcceptTimeoutExchanges()
Get the total number of Message Exchange accept timeout operations since the last message
service startup.
|
double |
getActiveExchangeRate()
Get the current active message exchange rate per hour.
|
int |
getActiveExchanges()
Get the current number of active message exchanges.
|
long |
getExchangeMeanTimeToClose()
Get the average time from the creation to the closing of a Message
Exchange.
|
float |
getExchangeSuccessRate()
Get the success rate for Message Exchanges, as a percentage.
|
long |
getFailedExchanges()
Get the total number of failed Message Exchanges since the last message
service startup.
|
long |
getFaultedExchanges()
Get the total number of faulted Message Exchanges since the last message
service startup.
|
long |
getInOnlyExchanges()
Get the total number of InOnly Message Exchanges created since the
last message service startup.
|
long |
getInOptionalOutExchanges()
Get the total number of InOptionalOut Message Exchanges created since the
last message service startup.
|
long |
getInOutExchanges()
Get the total number of InOut Message Exchanges created since the
last message service startup.
|
Date |
getLastRestartTime()
Get the time of the last restart of the associated entity.
|
long |
getRobustInOnlyExchanges()
Get the total number of RobustInOnly Message Exchanges created since the
last message service startup.
|
long |
getSendExchanges()
Get the total number of Message Exchange send operations since the last message
service startup.
|
long |
getSendSyncExchanges()
Get the total number of Message Exchange sendSync operations since the last message
service startup.
|
long |
getTotalExchanges()
Get the total number of Message Exchanges of all types created since the
last message service startup.
|
long |
getTotalExchangeTimeToClose()
Get the total time from the creation to the closing of all Message
Exchanges.
|
long |
getTransactedExchanges()
Get the total number of transacted Message Exchanges since the last
message service startup.
|
void |
incrementAccepts()
Increment the total number of Message Exchange accept operations since the last
message service startup.
|
void |
incrementAcceptTimeouts()
Increment the total number of Message Exchange accept timeout operations since the last
message service startup.
|
void |
incrementActiveExchanges()
Increment the current number of active message exchanges.
|
void |
incrementFailedExchanges()
Increment the total number of failed Message Exchanges since the last
message service startup.
|
void |
incrementFaults()
Increment the total number of faulted Message Exchanges since the last
message service startup.
|
void |
incrementInOnlyExchanges()
Increment the total number of InOnly Message Exchanges created since the
last message service startup.
|
void |
incrementInOptionalOutExchanges()
Increment the total number of InOptionalOut Message Exchanges created
since the last message service startup.
|
void |
incrementInOutExchanges()
Increment the total number of InOut Message Exchanges created since the
last message service startup.
|
void |
incrementRobustInOnlyExchanges()
Increment the total number of RobustInOnly Message Exchanges created
since the last message service startup.
|
void |
incrementSends()
Increment the total number of Message Exchange send operations since the last
message service startup.
|
void |
incrementSendSyncs()
Increment the total number of Message Exchange sendSync operations since the last
message service startup.
|
void |
incrementTransactedExchanges()
Increment the total number of transacted Message Exchanges since the last
message service startup.
|
void |
resetStatistics()
Reset all statistics.
|
void |
setLastRestartTime(Date restartTime)
Set the time of the last restart of the associated entity (component or
message service);
|
CompositeData |
toCompositeData()
Convert this instance to a CompositeData type.
|
public Date getLastRestartTime()
public int getActiveExchanges()
public double getActiveExchangeRate()
public long getInOnlyExchanges()
public long getRobustInOnlyExchanges()
public long getInOptionalOutExchanges()
public long getInOutExchanges()
public long getTotalExchanges()
public long getTotalExchangeTimeToClose()
public long getExchangeMeanTimeToClose()
public long getFailedExchanges()
public long getFaultedExchanges()
public long getSendExchanges()
public long getSendSyncExchanges()
public long getAcceptExchanges()
public long getAcceptTimeoutExchanges()
public long getTransactedExchanges()
public float getExchangeSuccessRate()
public void decrementActiveExchanges()
public void incrementActiveExchanges()
public void incrementInOnlyExchanges()
public void incrementRobustInOnlyExchanges()
public void incrementInOptionalOutExchanges()
public void incrementInOutExchanges()
public void addTotalExchangeTimeToClose(long timeToClose)
timeToClose - The time to close an ME in milliseconds.public void incrementFailedExchanges()
public void incrementTransactedExchanges()
public void setLastRestartTime(Date restartTime)
public void incrementSends()
public void incrementSendSyncs()
public void incrementAccepts()
public void incrementAcceptTimeouts()
public void incrementFaults()
public void resetStatistics()
public CompositeData toCompositeData() throws OpenDataException
OpenDataExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.