|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSystemMemoryStatus
public class SystemMemoryStatus
Represents status information of the system.
Use SystemManager to poll and fill the system information into instance of this class.
SystemManager.fetchSystemMemoryStatus(SystemMemoryStatus)
Field Summary | |
---|---|
int |
memoryLoad
Denotes how loaded the system memory is in percentage. |
long |
physAvail
Available (free, unused) physical memory in bytes. |
long |
physTotal
Total physical memory in bytes. |
long |
swapAvail
Available (free, unused) swap space (pagefile) memory in bytes. |
long |
swapTotal
Total swap space (pagefile) memory in bytes. |
long |
virtualAvail
Available (free, unused) virtual memory in bytes. |
long |
virtualTotal
Total virtual memory in bytes. |
Constructor Summary | |
---|---|
SystemMemoryStatus()
|
Method Summary | |
---|---|
void |
printInB()
|
void |
printInKB()
|
void |
printInMB()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int memoryLoad
public long virtualTotal
public long virtualAvail
public long physTotal
public long physAvail
public long swapTotal
public long swapAvail
Constructor Detail |
---|
public SystemMemoryStatus()
Method Detail |
---|
public void printInMB()
public void printInKB()
public void printInB()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |