public class NetworkDestinationView extends Object implements NetworkDestinationViewMBean
Constructor and Description |
---|
NetworkDestinationView(NetworkBridgeView networkBridgeView,
String name) |
Modifier and Type | Method and 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 destination
|
double |
getRate()
Returns the rate of messages that have been sent to the destination.
|
void |
messageSent() |
void |
resetStats()
Resets the managment counters.
|
public NetworkDestinationView(NetworkBridgeView networkBridgeView, String name)
public String getName()
getName
in interface NetworkDestinationViewMBean
public void resetStats()
resetStats
in interface NetworkDestinationViewMBean
public long getCount()
NetworkDestinationViewMBean
getCount
in interface NetworkDestinationViewMBean
public double getRate()
NetworkDestinationViewMBean
getRate
in interface NetworkDestinationViewMBean
public void messageSent()
public long getLastAccessTime()
public void close()
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.