|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean for providing some general system information.
Method Summary | |
int |
getAvailableProcessors()
Shows the number of available processors for the VM |
java.lang.String |
getFileEncoding()
Shows file encoding. |
long |
getFreeVmMemory()
Shows the current amount of free memory in the VM, measured in bytes. |
java.lang.String |
getFreeVmMemoryFormatted()
|
long |
getMaxVmMemory()
Shows the maximum amount of memory that the VM will attempt to use, measured in bytes. |
java.lang.String |
getMaxVmMemoryFormatted()
|
java.util.Date |
getStartTime()
Shows the (approx.) time when the system was started. |
long |
getTotalVmMemory()
Shows the total amount of free memory in the VM, measured in bytes. |
java.lang.String |
getTotalVmMemoryFormatted()
|
java.lang.String |
getUpTime()
Shows the (approx.) current system uptime |
void |
triggerGarbageCollector()
Suggests the VM to run the Garbage Collector |
Method Detail |
public long getFreeVmMemory()
public java.lang.String getFreeVmMemoryFormatted()
public long getMaxVmMemory()
public java.lang.String getMaxVmMemoryFormatted()
public long getTotalVmMemory()
public java.lang.String getTotalVmMemoryFormatted()
public int getAvailableProcessors()
public java.util.Date getStartTime()
public java.lang.String getUpTime()
public void triggerGarbageCollector()
public java.lang.String getFileEncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |