Package org.apache.activemq.broker.jmx
Class NetworkDestinationView
- java.lang.Object
-
- org.apache.activemq.broker.jmx.NetworkDestinationView
-
- All Implemented Interfaces:
NetworkDestinationViewMBean
public class NetworkDestinationView extends Object implements NetworkDestinationViewMBean
-
-
Constructor Summary
Constructors Constructor Description NetworkDestinationView(NetworkBridgeView networkBridgeView, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()longgetCount()Returns the number of messages that have been sent to the destination.longgetLastAccessTime()StringgetName()Returns the name of this destinationdoublegetRate()Returns the rate of messages that have been sent to the destination.voidmessageSent()voidresetStats()Resets the managment counters.
-
-
-
Constructor Detail
-
NetworkDestinationView
public NetworkDestinationView(NetworkBridgeView networkBridgeView, String name)
-
-
Method Detail
-
getName
public String 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()
-
-