|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SystemPerformanceInfo
| Method Summary | |
|---|---|
int |
getAvailableProcessors()
Returns the number of processors available to the Java virtual machine. |
long |
getCommittedMemory()
Returns the amount of memory in bytes that is committed for the Java virtual machine to use. |
int |
getDaemonThreadCount()
Returns the current number of live daemon threads. |
long |
getGcCollectionCount()
Returns the total number of collections that have occurred. |
long |
getGcCollectionTime()
Returns the approximate accumulated collection elapsed time in milliseconds. |
long |
getMaxMemory()
Returns the maximum amount of memory in bytes that can be used for memory management. |
double |
getSystemLoadAverage()
Returns the system load average; or a negative value if not available |
int |
getThreadCount()
Returns the current number of live threads including both daemon and non-daemon threads. |
long |
getUsedMemory()
Returns the amount of used memory in bytes. |
| Method Detail |
|---|
int getAvailableProcessors()
Runtime.availableProcessors()
method.
double getSystemLoadAverage()
long getUsedMemory()
long getCommittedMemory()
long getMaxMemory()
int getThreadCount()
int getDaemonThreadCount()
long getGcCollectionCount()
long getGcCollectionTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||