Class MongodbStats

  • All Implemented Interfaces:
    net.anotheria.moskito.core.producers.IStats, net.anotheria.moskito.core.producers.StatsMXBean

    public class MongodbStats
    extends net.anotheria.moskito.core.producers.AbstractStats
    Container for mongodb stats
    • Field Summary

      • Fields inherited from class net.anotheria.moskito.core.producers.AbstractStats

        MB
    • Constructor Summary

      Constructors 
      Constructor Description
      MongodbStats​(java.lang.String aName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.anotheria.moskito.core.stats.StatValue getAvailable_connections()  
      net.anotheria.moskito.core.stats.StatValue getAvg_ms_write()  
      net.anotheria.moskito.core.stats.StatValue getCurrent_connections()  
      net.anotheria.moskito.core.stats.StatValue getFlushes()  
      net.anotheria.moskito.core.stats.StatValue getLast_ms_write()  
      net.anotheria.moskito.core.stats.StatValue getTotal_created_connections()  
      net.anotheria.moskito.core.stats.StatValue getTotal_ms_write()  
      java.lang.String getValueByNameAsString​(java.lang.String valueName, java.lang.String intervalName, net.anotheria.moskito.core.stats.TimeUnit timeUnit)  
      void setAvailable_connections​(net.anotheria.moskito.core.stats.StatValue available_connections)  
      void setAvg_ms_write​(net.anotheria.moskito.core.stats.StatValue avg_ms_write)  
      void setCurrent_connections​(net.anotheria.moskito.core.stats.StatValue current_connections)  
      void setFlushes​(net.anotheria.moskito.core.stats.StatValue flushes)  
      void setLast_ms_write​(net.anotheria.moskito.core.stats.StatValue last_ms_write)  
      void setTotal_created_connections​(net.anotheria.moskito.core.stats.StatValue total_created_connections)  
      void setTotal_ms_write​(net.anotheria.moskito.core.stats.StatValue total_ms_write)  
      java.lang.String toStatsString​(java.lang.String aIntervalName, net.anotheria.moskito.core.stats.TimeUnit unit)  
      • Methods inherited from class net.anotheria.moskito.core.producers.AbstractStats

        addStatValues, createCallExecution, destroy, getAvailableValueNames, getName, isEmpty, toStatsString, toStatsString, toStatsString, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MongodbStats

        public MongodbStats​(java.lang.String aName)
    • Method Detail

      • getFlushes

        public net.anotheria.moskito.core.stats.StatValue getFlushes()
      • setFlushes

        public void setFlushes​(net.anotheria.moskito.core.stats.StatValue flushes)
      • getTotal_ms_write

        public net.anotheria.moskito.core.stats.StatValue getTotal_ms_write()
      • setTotal_ms_write

        public void setTotal_ms_write​(net.anotheria.moskito.core.stats.StatValue total_ms_write)
      • getAvg_ms_write

        public net.anotheria.moskito.core.stats.StatValue getAvg_ms_write()
      • setAvg_ms_write

        public void setAvg_ms_write​(net.anotheria.moskito.core.stats.StatValue avg_ms_write)
      • getLast_ms_write

        public net.anotheria.moskito.core.stats.StatValue getLast_ms_write()
      • setLast_ms_write

        public void setLast_ms_write​(net.anotheria.moskito.core.stats.StatValue last_ms_write)
      • getCurrent_connections

        public net.anotheria.moskito.core.stats.StatValue getCurrent_connections()
      • setCurrent_connections

        public void setCurrent_connections​(net.anotheria.moskito.core.stats.StatValue current_connections)
      • getAvailable_connections

        public net.anotheria.moskito.core.stats.StatValue getAvailable_connections()
      • setAvailable_connections

        public void setAvailable_connections​(net.anotheria.moskito.core.stats.StatValue available_connections)
      • getTotal_created_connections

        public net.anotheria.moskito.core.stats.StatValue getTotal_created_connections()
      • setTotal_created_connections

        public void setTotal_created_connections​(net.anotheria.moskito.core.stats.StatValue total_created_connections)
      • getValueByNameAsString

        public java.lang.String getValueByNameAsString​(java.lang.String valueName,
                                                       java.lang.String intervalName,
                                                       net.anotheria.moskito.core.stats.TimeUnit timeUnit)
        Specified by:
        getValueByNameAsString in interface net.anotheria.moskito.core.producers.IStats
        Overrides:
        getValueByNameAsString in class net.anotheria.moskito.core.producers.AbstractStats
      • toStatsString

        public java.lang.String toStatsString​(java.lang.String aIntervalName,
                                              net.anotheria.moskito.core.stats.TimeUnit unit)