org.springframework.data.mongodb.monitor
Class AssertMetrics

java.lang.Object
  extended by org.springframework.data.mongodb.monitor.AbstractMonitor
      extended by org.springframework.data.mongodb.monitor.AssertMetrics

@ManagedResource(description="Assertion Metrics")
public class AssertMetrics
extends AbstractMonitor

JMX Metrics for assertions

Author:
Mark Pollack

Field Summary
 
Fields inherited from class org.springframework.data.mongodb.monitor.AbstractMonitor
mongo
 
Constructor Summary
AssertMetrics(com.mongodb.Mongo mongo)
           
 
Method Summary
 int getMsg()
           
 int getRegular()
           
 int getRollovers()
           
 int getUser()
           
 int getWarning()
           
 
Methods inherited from class org.springframework.data.mongodb.monitor.AbstractMonitor
getDb, getServerStatus, setPassword, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertMetrics

public AssertMetrics(com.mongodb.Mongo mongo)
Method Detail

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 © 2011. All Rights Reserved.