org.springframework.data.mongodb.monitor
Class BtreeIndexCounters

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

@ManagedResource(description="Btree Metrics")
public class BtreeIndexCounters
extends AbstractMonitor

JMX Metrics for B-tree index counters

Author:
Mark Pollack

Field Summary
 
Fields inherited from class org.springframework.data.mongodb.monitor.AbstractMonitor
mongo
 
Constructor Summary
BtreeIndexCounters(com.mongodb.Mongo mongo)
           
 
Method Summary
 int getAccesses()
           
 int getHits()
           
 int getMisses()
           
 int getMissRatio()
           
 int getResets()
           
 
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

BtreeIndexCounters

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

getAccesses

@ManagedMetric(metricType=GAUGE,
               displayName="Accesses")
public int getAccesses()

getHits

@ManagedMetric(metricType=GAUGE,
               displayName="Hits")
public int getHits()

getMisses

@ManagedMetric(metricType=GAUGE,
               displayName="Misses")
public int getMisses()

getResets

@ManagedMetric(metricType=GAUGE,
               displayName="Resets")
public int getResets()

getMissRatio

@ManagedMetric(metricType=GAUGE,
               displayName="Miss Ratio")
public int getMissRatio()


Copyright © 2011. All Rights Reserved.