public class MemoryUtil extends Object
| 构造器和说明 |
|---|
MemoryUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
heapMemoryFree()
get free memory in heap
|
static long |
heapMemoryMax()
get max memory in heap
|
static long |
heapMemoryUsed()
get used memory in heap
|
static long |
noHeapMemoryFree()
get free memory in no-heap
|
static long |
noHeapMemoryMax()
get max memory in no-heap
|
static long |
noHeapMemoryUsed()
get used memory in no-heap
|
public static long heapMemoryUsed()
public static long heapMemoryMax()
public static long heapMemoryFree()
public static long noHeapMemoryUsed()
public static long noHeapMemoryMax()
public static long noHeapMemoryFree()
Copyright © 2022. All rights reserved.