Package org.apache.activemq.broker.jmx
Class NetworkDestinationView
java.lang.Object
org.apache.activemq.broker.jmx.NetworkDestinationView
- All Implemented Interfaces:
NetworkDestinationViewMBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetCount()Returns the number of messages that have been sent to the destination.longgetName()Returns the name of this destinationdoublegetRate()Returns the rate of messages that have been sent to the destination.voidvoidResets the managment counters.
-
Constructor Details
-
NetworkDestinationView
-
-
Method Details
-
getName
Returns the name of this destination- Specified by:
getNamein interfaceNetworkDestinationViewMBean
-
resetStats
public void resetStats()Resets the managment counters.- Specified by:
resetStatsin interfaceNetworkDestinationViewMBean
-
getCount
public long getCount()Description copied from interface:NetworkDestinationViewMBeanReturns the number of messages that have been sent to the destination.- Specified by:
getCountin interfaceNetworkDestinationViewMBean- Returns:
- The number of messages that have been sent to the destination.
-
getRate
public double getRate()Description copied from interface:NetworkDestinationViewMBeanReturns the rate of messages that have been sent to the destination.- Specified by:
getRatein interfaceNetworkDestinationViewMBean- Returns:
- The rate of messages that have been sent to the destination.
-
messageSent
public void messageSent() -
getLastAccessTime
public long getLastAccessTime() -
close
public void close()
-