Class MongodbStats
- java.lang.Object
-
- net.anotheria.moskito.core.producers.AbstractStats
-
- net.anotheria.moskito.extension.mongodb.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.AbstractStatsContainer for mongodb stats
-
-
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.StatValuegetAvailable_connections()net.anotheria.moskito.core.stats.StatValuegetAvg_ms_write()net.anotheria.moskito.core.stats.StatValuegetCurrent_connections()net.anotheria.moskito.core.stats.StatValuegetFlushes()net.anotheria.moskito.core.stats.StatValuegetLast_ms_write()net.anotheria.moskito.core.stats.StatValuegetTotal_created_connections()net.anotheria.moskito.core.stats.StatValuegetTotal_ms_write()java.lang.StringgetValueByNameAsString(java.lang.String valueName, java.lang.String intervalName, net.anotheria.moskito.core.stats.TimeUnit timeUnit)voidsetAvailable_connections(net.anotheria.moskito.core.stats.StatValue available_connections)voidsetAvg_ms_write(net.anotheria.moskito.core.stats.StatValue avg_ms_write)voidsetCurrent_connections(net.anotheria.moskito.core.stats.StatValue current_connections)voidsetFlushes(net.anotheria.moskito.core.stats.StatValue flushes)voidsetLast_ms_write(net.anotheria.moskito.core.stats.StatValue last_ms_write)voidsetTotal_created_connections(net.anotheria.moskito.core.stats.StatValue total_created_connections)voidsetTotal_ms_write(net.anotheria.moskito.core.stats.StatValue total_ms_write)java.lang.StringtoStatsString(java.lang.String aIntervalName, net.anotheria.moskito.core.stats.TimeUnit unit)
-
-
-
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:
getValueByNameAsStringin interfacenet.anotheria.moskito.core.producers.IStats- Overrides:
getValueByNameAsStringin classnet.anotheria.moskito.core.producers.AbstractStats
-
toStatsString
public java.lang.String toStatsString(java.lang.String aIntervalName, net.anotheria.moskito.core.stats.TimeUnit unit)
-
-