@ManagedResource(description="Memory Metrics") public class MemoryMetrics extends AbstractMonitor
mongo| Constructor and Description |
|---|
MemoryMetrics(com.mongodb.Mongo mongo) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBits() |
boolean |
getMemoryInfoSupported() |
int |
getMemoryMappedSpace() |
int |
getResidentSpace() |
int |
getVirtualAddressSpace() |
getDb, getServerStatus, setPassword, setUsername@ManagedMetric(metricType=COUNTER,
displayName="Memory address size")
public int getBits()
@ManagedMetric(metricType=GAUGE,
displayName="Resident in Physical Memory",
unit="MB")
public int getResidentSpace()
@ManagedMetric(metricType=GAUGE,
displayName="Virtual Address Space",
unit="MB")
public int getVirtualAddressSpace()
@ManagedMetric(metricType=GAUGE,
displayName="Is memory info supported on this platform")
public boolean getMemoryInfoSupported()
@ManagedMetric(metricType=GAUGE,
displayName="Memory Mapped Space",
unit="MB")
public int getMemoryMappedSpace()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.