org.springframework.data.mongodb.monitor
Class OperationCounters
java.lang.Object
org.springframework.data.mongodb.monitor.AbstractMonitor
org.springframework.data.mongodb.monitor.OperationCounters
@ManagedResource(description="Operation Counters")
public class OperationCounters
- extends AbstractMonitor
JMX Metrics for Operation counters
- Author:
- Mark Pollack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationCounters
public OperationCounters(com.mongodb.Mongo mongo)
getInsertCount
@ManagedMetric(metricType=COUNTER,
displayName="Insert operation count")
public int getInsertCount()
getQueryCount
@ManagedMetric(metricType=COUNTER,
displayName="Query operation count")
public int getQueryCount()
getUpdateCount
@ManagedMetric(metricType=COUNTER,
displayName="Update operation count")
public int getUpdateCount()
getDeleteCount
@ManagedMetric(metricType=COUNTER,
displayName="Delete operation count")
public int getDeleteCount()
getGetMoreCount
@ManagedMetric(metricType=COUNTER,
displayName="GetMore operation count")
public int getGetMoreCount()
getCommandCount
@ManagedMetric(metricType=COUNTER,
displayName="Command operation count")
public int getCommandCount()
Copyright © 2011. All Rights Reserved.