@AMXMetadata(type="memory-mon",
group="monitoring")
@ManagedObject
@Description(value="JVM Memory Statistics")
public class JVMMemoryStatsProvider
extends Object
The MBean will be of the format
amx:pp=/mon/server-mon[server],type=memory-mon,name=jvm/memory
and can be enabled by turning the Jvm monitoring level in the admin console to LOW
| Constructor and Description |
|---|
JVMMemoryStatsProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.external.statistics.CountStatistic |
getCommittedHeap()
Gets the amount of memory that is committed for the Java virtual machine to use
|
org.glassfish.external.statistics.CountStatistic |
getCommittedNonHeap()
Gets the amount of memory in bytes that is committed for the Java virtual machine to use
|
org.glassfish.external.statistics.CountStatistic |
getInitHeap()
Gets the amount of memory that the Java virtual machine initially requests from the operating system for memory management
|
org.glassfish.external.statistics.CountStatistic |
getInitNonHeap()
Gets the amount of memory that the Java virtual machine initially requests from the operating system for memory management
|
org.glassfish.external.statistics.CountStatistic |
getMaxHeap()
Gets the maximum amount of memory that can be used for memory management
|
org.glassfish.external.statistics.CountStatistic |
getMaxNonHeap()
Gets the maximum amount of memory that can be used for memory management
|
org.glassfish.external.statistics.CountStatistic |
getObjectPendingFinalizationCount()
Gets the approximate number of objects for which finalization is pending
|
org.glassfish.external.statistics.CountStatistic |
getUsedHeap()
Gets the amount of used memory
|
org.glassfish.external.statistics.CountStatistic |
getUsedNonHeap()
Gets the amount of used memory
|
@ManagedAttribute(id="committedheapsize-count") @Description(value="amount of memory in bytes that is committed for the Java virtual machine to use") public org.glassfish.external.statistics.CountStatistic getCommittedHeap()
CountStatistic with the amount of memory in bytes@ManagedAttribute(id="initheapsize-count") @Description(value="amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management") public org.glassfish.external.statistics.CountStatistic getInitHeap()
CountStatistic with the amount of memory in bytes@ManagedAttribute(id="maxheapsize-count") @Description(value="maximum amount of memory in bytes that can be used for memory management") public org.glassfish.external.statistics.CountStatistic getMaxHeap()
CountStatistic with the amount of memory in bytes@ManagedAttribute(id="usedheapsize-count") @Description(value="amount of used memory in bytes") public org.glassfish.external.statistics.CountStatistic getUsedHeap()
CountStatistic with the amount of memory in bytes@ManagedAttribute(id="committednonheapsize-count") @Description(value="amount of memory in bytes that is committed for the Java virtual machine to use") public org.glassfish.external.statistics.CountStatistic getCommittedNonHeap()
CountStatistic with the amount of memory in bytes@ManagedAttribute(id="initnonheapsize-count") @Description(value="amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management") public org.glassfish.external.statistics.CountStatistic getInitNonHeap()
CountStatistic with the amount of memory in bytes@ManagedAttribute(id="maxnonheapsize-count") @Description(value="maximum amount of memory in bytes that can be used for memory management") public org.glassfish.external.statistics.CountStatistic getMaxNonHeap()
CountStatistic with the amount of memory in bytes@ManagedAttribute(id="usednonheapsize-count") @Description(value="amount of used memory in bytes") public org.glassfish.external.statistics.CountStatistic getUsedNonHeap()
CountStatistic with the amount of memory in bytes@ManagedAttribute(id="objectpendingfinalizationcount-count") @Description(value="approximate number of objects for which finalization is pending") public org.glassfish.external.statistics.CountStatistic getObjectPendingFinalizationCount()
CountStatistic with the number of objectsCopyright © 2019. All rights reserved.