@ManagedResource(description="Assertion Metrics") public class AssertMetrics extends AbstractMonitor
mongo
Constructor and Description |
---|
AssertMetrics(Mongo mongo) |
Modifier and Type | Method and Description |
---|---|
int |
getMsg() |
int |
getRegular() |
int |
getRollovers() |
int |
getUser() |
int |
getWarning() |
getDb, getServerStatus, setPassword, setUsername
public AssertMetrics(Mongo mongo)
@ManagedMetric(metricType=COUNTER, displayName="Regular") public int getRegular()
@ManagedMetric(metricType=COUNTER, displayName="Warning") public int getWarning()
@ManagedMetric(metricType=COUNTER, displayName="Msg") public int getMsg()
@ManagedMetric(metricType=COUNTER, displayName="User") public int getUser()
@ManagedMetric(metricType=GAUGE, displayName="Rollovers") public int getRollovers()
Copyright © 2012. All Rights Reserved.