|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectml.shifu.guagua.util.MemoryUtils
public final class MemoryUtils
Helper static methods for tracking memory usage. Copy from Apache Giraph.
| 方法摘要 | |
|---|---|
static double |
freeMemoryMB()
Get free memory in megabytes |
static String |
getRuntimeMemoryStats()
Get runtime memory stats |
static double |
maxMemoryMB()
Get maximum memory in megabytes |
static double |
totalMemoryMB()
Get total memory in megabytes |
static double |
usedMemoryMB()
Get used memory in megabytes |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public static double totalMemoryMB()
public static double maxMemoryMB()
public static double freeMemoryMB()
public static double usedMemoryMB()
public static String getRuntimeMemoryStats()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||