org.springframework.data.mongodb.monitor
Class BackgroundFlushingMetrics
java.lang.Object
org.springframework.data.mongodb.monitor.AbstractMonitor
org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
@ManagedResource(description="Background Flushing Metrics")
public class BackgroundFlushingMetrics
- extends AbstractMonitor
JMX Metrics for Background Flushing
- Author:
- Mark Pollack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackgroundFlushingMetrics
public BackgroundFlushingMetrics(Mongo mongo)
getFlushes
@ManagedMetric(metricType=COUNTER,
displayName="Flushes")
public int getFlushes()
getTotalMs
@ManagedMetric(metricType=COUNTER,
displayName="Total ms",
unit="ms")
public int getTotalMs()
getAverageMs
@ManagedMetric(metricType=GAUGE,
displayName="Average ms",
unit="ms")
public double getAverageMs()
getLastMs
@ManagedMetric(metricType=GAUGE,
displayName="Last Ms",
unit="ms")
public int getLastMs()
getLastFinished
@ManagedMetric(metricType=GAUGE,
displayName="Last finished")
public Date getLastFinished()
Copyright © 2012. All Rights Reserved.