@ManagedResource(description="Btree Metrics") public class BtreeIndexCounters extends AbstractMonitor
Constructor and Description |
---|
BtreeIndexCounters(com.mongodb.MongoClient mongoClient) |
Modifier and Type | Method and Description |
---|---|
int |
getAccesses() |
int |
getHits() |
int |
getMisses() |
int |
getMissRatio() |
int |
getResets() |
getDb, getMongoClient, getServerStatus
public BtreeIndexCounters(com.mongodb.MongoClient mongoClient)
@ManagedMetric(metricType=GAUGE, displayName="Accesses") public int getAccesses()
@ManagedMetric(metricType=GAUGE, displayName="Hits") public int getHits()
@ManagedMetric(metricType=GAUGE, displayName="Misses") public int getMisses()
@ManagedMetric(metricType=GAUGE, displayName="Resets") public int getResets()
@ManagedMetric(metricType=GAUGE, displayName="Miss Ratio") public int getMissRatio()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.