@ManagedResource(description="Operation Counters") public class OperationCounters extends AbstractMonitor
mongo| Constructor and Description |
|---|
OperationCounters(com.mongodb.Mongo mongo) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCommandCount() |
int |
getDeleteCount() |
int |
getGetMoreCount() |
int |
getInsertCount() |
int |
getQueryCount() |
int |
getUpdateCount() |
getDb, getServerStatus, setPassword, setUsername@ManagedMetric(metricType=COUNTER,
displayName="Insert operation count")
public int getInsertCount()
@ManagedMetric(metricType=COUNTER,
displayName="Query operation count")
public int getQueryCount()
@ManagedMetric(metricType=COUNTER,
displayName="Update operation count")
public int getUpdateCount()
@ManagedMetric(metricType=COUNTER,
displayName="Delete operation count")
public int getDeleteCount()
@ManagedMetric(metricType=COUNTER,
displayName="GetMore operation count")
public int getGetMoreCount()
@ManagedMetric(metricType=COUNTER,
displayName="Command operation count")
public int getCommandCount()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.