org.springframework.data.document.mongodb.monitor
Class MemoryMetrics
java.lang.Object
org.springframework.data.document.mongodb.monitor.AbstractMonitor
org.springframework.data.document.mongodb.monitor.MemoryMetrics
@ManagedResource(description="Memory Metrics")
public class MemoryMetrics
- extends AbstractMonitor
JMX Metrics for Memory
- Author:
- Mark Pollack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryMetrics
public MemoryMetrics(Mongo mongo)
getBits
@ManagedMetric(metricType=COUNTER,
displayName="Memory address size")
public int getBits()
getResidentSpace
@ManagedMetric(metricType=GAUGE,
displayName="Resident in Physical Memory",
unit="MB")
public int getResidentSpace()
getVirtualAddressSpace
@ManagedMetric(metricType=GAUGE,
displayName="Virtual Address Space",
unit="MB")
public int getVirtualAddressSpace()
getMemoryInfoSupported
@ManagedMetric(metricType=GAUGE,
displayName="Is memory info supported on this platform")
public boolean getMemoryInfoSupported()
getMemoryMappedSpace
@ManagedMetric(metricType=GAUGE,
displayName="Memory Mapped Space",
unit="MB")
public int getMemoryMappedSpace()
Copyright © 2011. All Rights Reserved.