@ManagedResource(description="Btree Metrics") public class BtreeIndexCounters extends AbstractMonitor
| Constructor and Description |
|---|
BtreeIndexCounters(com.mongodb.client.MongoClient mongoClient) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccesses() |
int |
getHits() |
int |
getMisses() |
int |
getMissRatio() |
int |
getResets() |
getDb, getMongoClient, getServerStatus, hostspublic BtreeIndexCounters(com.mongodb.client.MongoClient mongoClient)
mongoClient - must not be null.@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–2023 Pivotal Software, Inc.. All rights reserved.