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 void
close()
long
getCount()
Returns the number of messages that have been sent to the destination.long
getLastAccessTime()
String
getName()
Returns the name of this destinationdouble
getRate()
Returns the rate of messages that have been sent to the destination.void
messageSent()
void
resetStats()
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:
getName
in interfaceNetworkDestinationViewMBean
-
resetStats
public void resetStats()
Resets the managment counters.- Specified by:
resetStats
in interfaceNetworkDestinationViewMBean
-
getCount
public long getCount()
Description copied from interface:NetworkDestinationViewMBean
Returns the number of messages that have been sent to the destination.- Specified by:
getCount
in interfaceNetworkDestinationViewMBean
- Returns:
- The number of messages that have been sent to the destination.
-
getRate
public double getRate()
Description copied from interface:NetworkDestinationViewMBean
Returns the rate of messages that have been sent to the destination.- Specified by:
getRate
in 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()
-
-