Class NetworkBridgeStatistics

  • All Implemented Interfaces:
    Statistic, Stats, org.apache.activemq.management.Resettable

    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 dequeues  
      protected org.apache.activemq.management.CountStatisticImpl enqueues  
      protected org.apache.activemq.management.CountStatisticImpl receivedCount  
      • Fields inherited from class org.apache.activemq.management.StatisticImpl

        enabled
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      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
      org.apache.activemq.management.CountStatisticImpl getReceivedCount()
      The number of messages that have been received by the NetworkBridge from the remote broker.
      void reset()  
      void setEnabled​(boolean enabled)  
      void setParent​(NetworkBridgeStatistics parent)  
      • Methods inherited from class org.apache.activemq.management.StatsImpl

        addStatistic, getStatistic, getStatisticNames, getStatistics
      • Methods inherited from class org.apache.activemq.management.StatisticImpl

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

      • enqueues

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

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

        protected org.apache.activemq.management.CountStatisticImpl receivedCount
    • Method Detail

      • 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