public class MessageServiceStatistics extends Object implements MessageServiceStatisticsMBean, NotificationListener
| Modifier and Type | Method and Description |
|---|---|
void |
disableTimingStatistics() |
void |
enableTimingStatistics()
Enable timing of NMR interactions.
|
String[] |
getActiveChannels()
Returns the identifiers of all the active channels.
|
String[] |
getActiveEndpoints()
Returns a list of active endpoints in the NMR.
|
String[] |
getConsumingEndpointsForDeliveryChannel(String dcName)
Get the list of consuming endpoints for a specific DeliveryChannel.
|
CompositeData |
getDeliveryChannelStatistics(String dcName)
Get the CompositeData instance that represents the current values for
the specific DeliveryChannel.
|
String[] |
getEndpointsForDeliveryChannel(String dcName)
Get the list of endpoints for a specific DeliveryChannel.
|
CompositeData |
getEndpointStatistics(String epName)
Get the CompositeData instance that represents the current values for
the specific Endpoint.
|
TabularData |
getHistoricalEndpointStatistics(String epName)
Get the CompositeData instance that represents the historical values for specific
Endpoint statistics.
|
Date |
getLastRestartTime()
Get the time that the message service was last started.
|
CompositeData |
getMessagingStatistics()
Get the CompositeData instance that represents the current values for
the MessagingStatistics instance.
|
int |
getRegisteredEndpoints()
Get the current number of endpoints registered with the message service.
|
int |
getRegisteredServices()
Get the current number of services registered with the message service.
|
void |
handleNotification(Notification notification,
Object handback)
handle a notification from the Logger Configuration MBean
|
boolean |
isEnabled()
Enable statistics collection.
|
void |
resetStatistics()
Reset all statistics.
|
void |
setDisabled()
Disable statistics collection.
|
void |
setEnabled() |
public void setDisabled()
setDisabled in interface StatisticsMBeanpublic void disableTimingStatistics()
disableTimingStatistics in interface MessageServiceStatisticsMBeanpublic boolean isEnabled()
isEnabled in interface StatisticsMBeanpublic void setEnabled()
setEnabled in interface StatisticsMBeanpublic void enableTimingStatistics()
MessageServiceStatisticsMBeanenableTimingStatistics in interface MessageServiceStatisticsMBeanpublic Date getLastRestartTime()
getLastRestartTime in interface MessageServiceStatisticsMBeanpublic int getRegisteredServices()
getRegisteredServices in interface MessageServiceStatisticsMBeanpublic int getRegisteredEndpoints()
getRegisteredEndpoints in interface MessageServiceStatisticsMBeanpublic String[] getActiveChannels()
getActiveChannels in interface MessageServiceStatisticsMBeanpublic String[] getActiveEndpoints()
getActiveEndpoints in interface MessageServiceStatisticsMBeanpublic String[] getEndpointsForDeliveryChannel(String dcName)
getEndpointsForDeliveryChannel in interface MessageServiceStatisticsMBeanpublic String[] getConsumingEndpointsForDeliveryChannel(String dcName)
getConsumingEndpointsForDeliveryChannel in interface MessageServiceStatisticsMBeanpublic CompositeData getMessagingStatistics()
getMessagingStatistics in interface MessageServiceStatisticsMBeanpublic CompositeData getDeliveryChannelStatistics(String dcName)
getDeliveryChannelStatistics in interface MessageServiceStatisticsMBeanpublic CompositeData getEndpointStatistics(String epName)
getEndpointStatistics in interface MessageServiceStatisticsMBeanpublic TabularData getHistoricalEndpointStatistics(String epName)
getHistoricalEndpointStatistics in interface MessageServiceStatisticsMBeanpublic void resetStatistics()
resetStatistics in interface MessageServiceStatisticsMBeanpublic void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenernotification - - the notificationthe - callback passed inCopyright © 2011-2016 OpenESB Community. All Rights Reserved.