|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.sys.MemoryStatus
This is provided on some platforms that allow it and only some of the fields will be relevant on some. It is modeled after the Win32/WinCE MEMORYSTATUS structure.
| Field Summary | |
int |
availablePhysical
The available number of bytes in physical memory. |
int |
availableVirtual
The available number of virtual memory bytes. |
int |
memoryLoad
This will be a value from 0 to 100 indicating a percentage of used memory. |
int |
totalPhysical
The total number of bytes in physical memory. |
int |
totalVirtual
The total number of virtual memory bytes. |
| Constructor Summary | |
MemoryStatus()
|
|
| Method Summary | |
MemoryStatus |
getChange()
This will return a MemoryStatus that has the difference in the memory values of this MemoryStatus object, and the current memory values as reported by the system. |
boolean |
refresh()
Refresh the values in this MemoryStatus with a new values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, toString |
| Field Detail |
public int memoryLoad
public int totalPhysical
public int availablePhysical
public int totalVirtual
public int availableVirtual
| Constructor Detail |
public MemoryStatus()
| Method Detail |
public MemoryStatus getChange()
public boolean refresh()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||