Class NetworkBridgeStatistics

java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
org.apache.activemq.network.NetworkBridgeStatistics
All Implemented Interfaces:
org.apache.activemq.management.Resettable, org.apache.activemq.management.Statistic, org.apache.activemq.management.Stats

public class NetworkBridgeStatistics extends org.apache.activemq.management.StatsImpl
The Statistics for a NetworkBridge.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.activemq.management.CountStatisticImpl
     
    protected org.apache.activemq.management.CountStatisticImpl
     
    protected org.apache.activemq.management.CountStatisticImpl
     

    Fields inherited from class org.apache.activemq.management.StatsImpl

    set
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.activemq.management.CountStatisticImpl
    The current number of dequeues this bridge has, which is the number of messages actually sent to and received by the remote broker.
    org.apache.activemq.management.CountStatisticImpl
    The current number of enqueues this bridge has, which is the number of potential messages to be forwarded Messages may not be forwarded if there is no subscription
    org.apache.activemq.management.CountStatisticImpl
    The number of messages that have been received by the NetworkBridge from the remote broker.
    void
     
    void
    setEnabled(boolean enabled)
     
    void
     

    Methods inherited from class org.apache.activemq.management.StatsImpl

    addStatistic, addStatistics, getStatistic, getStatisticNames, getStatistics, removeStatistics

    Methods inherited from class org.apache.activemq.management.StatisticImpl

    appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • enqueues

      protected org.apache.activemq.management.CountStatisticImpl enqueues
    • dequeues

      protected org.apache.activemq.management.CountStatisticImpl dequeues
    • receivedCount

      protected org.apache.activemq.management.CountStatisticImpl receivedCount
  • Constructor Details

    • NetworkBridgeStatistics

      public NetworkBridgeStatistics()
  • Method Details

    • getEnqueues

      public org.apache.activemq.management.CountStatisticImpl getEnqueues()
      The current number of enqueues this bridge has, which is the number of potential messages to be forwarded Messages may not be forwarded if there is no subscription
      Returns:
    • getDequeues

      public org.apache.activemq.management.CountStatisticImpl getDequeues()
      The current number of dequeues this bridge has, which is the number of messages actually sent to and received by the remote broker.
      Returns:
    • getReceivedCount

      public org.apache.activemq.management.CountStatisticImpl getReceivedCount()
      The number of messages that have been received by the NetworkBridge from the remote broker. Only applies for Duplex bridges.
      Returns:
    • reset

      public void reset()
      Specified by:
      reset in interface org.apache.activemq.management.Resettable
      Overrides:
      reset in class org.apache.activemq.management.StatsImpl
    • setEnabled

      public void setEnabled(boolean enabled)
      Overrides:
      setEnabled in class org.apache.activemq.management.StatisticImpl
    • setParent

      public void setParent(NetworkBridgeStatistics parent)