com.sun.enterprise.admin.monitor.stats
Interface JVMMemoryStats

All Superinterfaces:
Stats

public interface JVMMemoryStats
extends Stats

A Stats interface, to expose the monitoring information about the JVM memory subsystem. This interfaces exposes the memory usage information for the heap and the non-heap areas of the memory subsystem.

Since:
8.1

Method Summary
 CountStatistic getCommittedHeapSize()
          Returns the amount of memory in bytes that is committed for the JVM to use
 CountStatistic getCommittedNonHeapSize()
          Returns the amount of memory in bytes that is committed for the JVM to use
 CountStatistic getInitHeapSize()
          Returns the size of the heap initially requested by the JVM
 CountStatistic getInitNonHeapSize()
          Returns the size of the non=heap area initially requested by the JVM
 CountStatistic getMaxHeapSize()
          Returns the maximum amount of memory in bytes that can be used for memory management
 CountStatistic getMaxNonHeapSize()
          Returns the maximum amount of memory in bytes that can be used for memory management
 CountStatistic getObjectPendingFinalizationCount()
          Returns the approximate number of objects, that are pending finalization.
 CountStatistic getUsedHeapSize()
          Returns the size of the heap currently in use
 CountStatistic getUsedNonHeapSize()
          Returns the size of the non-heap area currently in use
 
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getObjectPendingFinalizationCount

CountStatistic getObjectPendingFinalizationCount()
Returns the approximate number of objects, that are pending finalization.

Returns:
CountStatistic Objects pending finalization

getInitHeapSize

CountStatistic getInitHeapSize()
Returns the size of the heap initially requested by the JVM

Returns:
CountStatistic initial heap size in bytes

getUsedHeapSize

CountStatistic getUsedHeapSize()
Returns the size of the heap currently in use

Returns:
CountStatistic current heap usage in bytes

getMaxHeapSize

CountStatistic getMaxHeapSize()
Returns the maximum amount of memory in bytes that can be used for memory management

Returns:
CountStatistic maximum heap size in bytes

getCommittedHeapSize

CountStatistic getCommittedHeapSize()
Returns the amount of memory in bytes that is committed for the JVM to use

Returns:
CountStatistic memory committed for the jvm in bytes

getInitNonHeapSize

CountStatistic getInitNonHeapSize()
Returns the size of the non=heap area initially requested by the JVM

Returns:
CountStatistic initial size of the non-heap area in bytes

getUsedNonHeapSize

CountStatistic getUsedNonHeapSize()
Returns the size of the non-heap area currently in use

Returns:
CountStatistic current usage of the non-heap area in bytes

getMaxNonHeapSize

CountStatistic getMaxNonHeapSize()
Returns the maximum amount of memory in bytes that can be used for memory management

Returns:
CountStatistic maximum non-heap area size in bytes

getCommittedNonHeapSize

CountStatistic getCommittedNonHeapSize()
Returns the amount of memory in bytes that is committed for the JVM to use

Returns:
CountStatistic memory committed for the jvm in bytes


Copyright © 2012. All Rights Reserved.