org.springframework.data.document.mongodb.monitor
Class MemoryMetrics

java.lang.Object
  extended by org.springframework.data.document.mongodb.monitor.AbstractMonitor
      extended by org.springframework.data.document.mongodb.monitor.MemoryMetrics

JMX Metrics for Memory

Author:
Mark Pollack

Field Summary
 
Fields inherited from class org.springframework.data.document.mongodb.monitor.AbstractMonitor
mongo
 
Constructor Summary
MemoryMetrics(Mongo mongo)
          
Method Summary
 int getBits()
          
Methods inherited from class org.springframework.data.document.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

MemoryMetrics

public MemoryMetrics(Mongo mongo)
Method Detail

getBits


getResidentSpace


getVirtualAddressSpace


getMemoryInfoSupported


getMemoryMappedSpace


getMemData

private <T> T getMemData(java.lang.String key,
                         java.lang.Class<T> targetClass)