|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.management.stats.RouterStatistics
RouterStatistics
todo
Field Summary | |
static int |
TYPE_INBOUND
|
static int |
TYPE_OUTBOUND
|
static int |
TYPE_RESPONSE
|
Constructor Summary | |
RouterStatistics(int type)
The constructor |
Method Summary | |
void |
clear()
|
int |
getCaughtMessages()
|
int |
getNotRouted()
|
java.util.Map |
getRouted()
|
int |
getRouted(java.lang.String endpointName)
|
int |
getTotalReceived()
|
int |
getTotalRouted()
|
void |
incrementCaughtMessage()
Increment no routed message |
void |
incrementNoRoutedMessage()
Increment no routed message |
void |
incrementRoutedMessage(java.util.Collection endpoints)
Increment routed message for multiple endpoints |
void |
incrementRoutedMessage(UMOEndpoint endpoint)
Increment routed message for an endpoint |
boolean |
isEnabled()
Are statistics logged |
boolean |
isInbound()
|
void |
logSummary()
|
void |
logSummary(java.io.PrintWriter printer)
|
void |
setEnabled(boolean b)
Enable statistics logs (this is a dynamic parameter) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TYPE_INBOUND
public static final int TYPE_OUTBOUND
public static final int TYPE_RESPONSE
Constructor Detail |
public RouterStatistics(int type)
Method Detail |
public void clear()
clear
in interface Statistics
Statistics.clear()
public boolean isEnabled()
Statistics
isEnabled
in interface Statistics
Statistics.isEnabled()
public void logSummary()
logSummary
in interface Statistics
public void logSummary(java.io.PrintWriter printer)
public void setEnabled(boolean b)
Statistics
setEnabled
in interface Statistics
Statistics.setEnabled(boolean)
public void incrementRoutedMessage(java.util.Collection endpoints)
endpoints
- The endpoint collectionpublic void incrementRoutedMessage(UMOEndpoint endpoint)
endpoint
- The endpointpublic void incrementNoRoutedMessage()
public void incrementCaughtMessage()
public final int getCaughtMessages()
public final int getNotRouted()
public final int getTotalReceived()
public final int getTotalRouted()
public final int getRouted(java.lang.String endpointName)
public boolean isInbound()
public java.util.Map getRouted()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |