Spring Data Document

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(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(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()

Spring Data Document

Copyright © 2012. All Rights Reserved.