org.springframework.data.mongodb.monitor
Class GlobalLockMetrics
java.lang.Object
org.springframework.data.mongodb.monitor.AbstractMonitor
org.springframework.data.mongodb.monitor.GlobalLockMetrics
@ManagedResource(description="Global Lock Metrics")
public class GlobalLockMetrics
- extends AbstractMonitor
JMX Metrics for Global Locks
- Author:
- Mark Pollack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalLockMetrics
public GlobalLockMetrics(Mongo mongo)
getTotalTime
@ManagedMetric(metricType=COUNTER,
displayName="Total time")
public double getTotalTime()
getLockTime
@ManagedMetric(metricType=COUNTER,
displayName="Lock time",
unit="s")
public double getLockTime()
getLockTimeRatio
@ManagedMetric(metricType=GAUGE,
displayName="Lock time")
public double getLockTimeRatio()
getCurrentQueueTotal
@ManagedMetric(metricType=GAUGE,
displayName="Current Queue")
public int getCurrentQueueTotal()
getCurrentQueueReaders
@ManagedMetric(metricType=GAUGE,
displayName="Reader Queue")
public int getCurrentQueueReaders()
getCurrentQueueWriters
@ManagedMetric(metricType=GAUGE,
displayName="Writer Queue")
public int getCurrentQueueWriters()
Copyright © 2012. All Rights Reserved.