|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MemoryMonitorService
The MemoryMonitorService class offers methods to
obtain MemoryMonitor monitors, as well as information
about the various memory pools defined by the Java Virtual
Machine.
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getMemoryPoolNames()
Returns the names of all memory pools in the system. |
java.util.List<MemoryPoolInfo> |
getMemoryPools()
Returns information about all memory pools in the system. |
MemoryMonitor |
getMonitor(java.lang.String poolName)
Returns the MemoryMonitor for the specified memory pool. |
| Method Detail |
|---|
java.util.List<java.lang.String> getMemoryPoolNames()
java.util.List<MemoryPoolInfo> getMemoryPools()
MemoryMonitor getMonitor(java.lang.String poolName)
throws java.lang.IllegalArgumentException
MemoryMonitor for the specified memory pool.
In order to get a list of valid memory pools, use
getMemoryPoolNames().
poolName - The memory pool for which to retrieve a monitor
java.lang.IllegalArgumentException - If the specified pool name did not
correspond to a valid memory pool.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||