Class NamespaceUsage


  • public class NamespaceUsage
    extends java.lang.Object
    this class represents usages of resources used by a namespace, this is an aggregate of all the topics and queues on the namespace. The class is designed from load balancing perspective so it only tracks resources that matter to load Manager and the metrics are calculated how load manager prefers it.
    • Constructor Detail

      • NamespaceUsage

        public NamespaceUsage()
    • Method Detail

      • getActiveSubscribers

        public long getActiveSubscribers()
      • setActiveSubscribers

        public void setActiveSubscribers​(long activeSubscribers)
      • getTotalSubscribers

        public long getTotalSubscribers()
      • setTotalSubscribers

        public void setTotalSubscribers​(long totalSubscribers)
      • getMsgRateIn

        public double getMsgRateIn()
      • setMsgRateIn

        public void setMsgRateIn​(double msgRateIn)
      • getMsgThroughputIn

        public double getMsgThroughputIn()
      • setMsgThroughputIn

        public void setMsgThroughputIn​(double msgThroughputIn)
      • getMsgPersistentRateIn

        public double getMsgPersistentRateIn()
      • setMsgPersistentRateIn

        public void setMsgPersistentRateIn​(double msgPersistentRateIn)
      • getMsgPersistentThroughputIn

        public double getMsgPersistentThroughputIn()
      • setMsgPersistentThroughputIn

        public void setMsgPersistentThroughputIn​(double msgPersistentThroughputIn)
      • getMsgNonPersistentRateIn

        public double getMsgNonPersistentRateIn()
      • setMsgNonPersistentRateIn

        public void setMsgNonPersistentRateIn​(double msgNonPersistentRateIn)
      • getMsgNonPersistentThroughputIn

        public double getMsgNonPersistentThroughputIn()
      • setMsgNonPersistentThroughputIn

        public void setMsgNonPersistentThroughputIn​(double msgNonPersistentThroughputIn)
      • getMsgRateOut

        public double getMsgRateOut()
      • setMsgRateOut

        public void setMsgRateOut​(double msgRateOut)
      • getMsgThroughputOut

        public double getMsgThroughputOut()
      • setMsgThroughputOut

        public void setMsgThroughputOut​(double msgThroughputOut)
      • getMsgBacklog

        public long getMsgBacklog()
      • setMsgBacklog

        public void setMsgBacklog​(long msgBacklog)
      • getStorageSize

        public long getStorageSize()
      • setStorageSize

        public void setStorageSize​(long storageSize)
      • getTotalProducers

        public long getTotalProducers()
      • setTotalProducers

        public void setTotalProducers​(long totalProducers)
      • getTotalReplicatedClusters

        public long getTotalReplicatedClusters()
      • setTotalReplicatedClusters

        public void setTotalReplicatedClusters​(long totalReplicatedClusters)
      • getTotalQueues

        public long getTotalQueues()
      • setTotalQueues

        public void setTotalQueues​(long totalQueues)
      • getTotalTopics

        public long getTotalTopics()
      • setTotalTopics

        public void setTotalTopics​(long totalTopics)