org.springframework.data.mongodb.monitor
Class AssertMetrics
java.lang.Object
org.springframework.data.mongodb.monitor.AbstractMonitor
org.springframework.data.mongodb.monitor.AssertMetrics
@ManagedResource(description="Assertion Metrics")
public class AssertMetrics
- extends AbstractMonitor
JMX Metrics for assertions
- Author:
- Mark Pollack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssertMetrics
public AssertMetrics(Mongo mongo)
getRegular
@ManagedMetric(metricType=COUNTER,
displayName="Regular")
public int getRegular()
getWarning
@ManagedMetric(metricType=COUNTER,
displayName="Warning")
public int getWarning()
getMsg
@ManagedMetric(metricType=COUNTER,
displayName="Msg")
public int getMsg()
getUser
@ManagedMetric(metricType=COUNTER,
displayName="User")
public int getUser()
getRollovers
@ManagedMetric(metricType=GAUGE,
displayName="Rollovers")
public int getRollovers()
Copyright © 2012. All Rights Reserved.