@ManagedResource(description="Background Flushing Metrics") public class BackgroundFlushingMetrics extends AbstractMonitor
BackgroundFlushingMetrics(com.mongodb.MongoClient mongoClient)
double
getAverageMs()
int
getFlushes()
Date
getLastFinished()
getLastMs()
getTotalMs()
getDb, getMongoClient, getServerStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BackgroundFlushingMetrics(com.mongodb.MongoClient mongoClient)
@ManagedMetric(metricType=COUNTER, displayName="Flushes") public int getFlushes()
@ManagedMetric(metricType=COUNTER, displayName="Total ms", unit="ms") public int getTotalMs()
@ManagedMetric(metricType=GAUGE, displayName="Average ms", unit="ms") public double getAverageMs()
@ManagedMetric(metricType=GAUGE, displayName="Last Ms", unit="ms") public int getLastMs()
@ManagedMetric(metricType=GAUGE, displayName="Last finished") public Date getLastFinished()
Impressum und Datenschutz Copyright ©2018 eir.me