Package com.spun.util
Class Memory
java.lang.Object
com.spun.util.Memory
public class Memory extends Object
A Simple class looking at memory.
- Version:
- 1.0
- Author:
- Llewellyn
-
Constructor Summary
Constructors Constructor Description Memory()Dumps the current memory status [total, used, free]. -
Method Summary
Modifier and Type Method Description StringgetFreeMemory()StringgetTotalMemory()StringgetUsedMemory()
-
Constructor Details
-
Memory
public Memory()Dumps the current memory status [total, used, free]. This forces garbage collection to run first.
-
-
Method Details
-
getUsedMemory
-
getFreeMemory
-
getTotalMemory
-