API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang.management. MemoryPoolMXBean View Source
Author(s)
Mandy Chung
Since
1.5
Version
1.21, 03/08/06
Serial
Hierarchy
 MemoryPoolMXBean
Subinterfaces
Description
public interface MemoryPoolMXBean
  The management interface for a memory pool.
Methods
Hide/Show inherited methods
public MemoryUsage getCollectionUsage ()
  Returns the memory usage after the Java virtual machine most recently expended effort in recycling unused objects in this memory pool.
public long getCollectionUsageThreshold ()
  Returns the collection usage threshold value of this memory pool in bytes.
public long getCollectionUsageThresholdCount ()
  Returns the number of times that the Java virtual machine has detected that the memory usage has reached or exceeded the collection usage threshold.
public String getMemoryManagerNames ()
  Returns the name of memory managers that manages this memory pool.
public String getName ()
  Returns the name representing this memory pool.
public MemoryUsage getPeakUsage ()
  Returns the peak memory usage of this memory pool since the Java virtual machine was started or since the peak was reset.
public MemoryType getType ()
  Returns the type of this memory pool.
public MemoryUsage getUsage ()
  Returns an estimate of the memory usage of this memory pool.
public long getUsageThreshold ()
  Returns the usage threshold value of this memory pool in bytes.
public long getUsageThresholdCount ()
  Returns the number of times that the memory usage has crossed the usage threshold.
public boolean isCollectionUsageThresholdExceeded ()
  Tests if the memory usage of this memory pool after the most recent collection on which the Java virtual machine has expended effort has reached or exceeded its collection usage threshold.
public boolean isCollectionUsageThresholdSupported ()
  Tests if this memory pool supports a collection usage threshold.
public boolean isUsageThresholdExceeded ()
  Tests if the memory usage of this memory pool reaches or exceeds its usage threshold value.
public boolean isUsageThresholdSupported ()
  Tests if this memory pool supports usage threshold.
public boolean isValid ()
  Tests if this memory pool is valid in the Java virtual machine.
public void resetPeakUsage ()
  Resets the peak memory usage statistic of this memory pool to the current memory usage.
public void setCollectionUsageThreshold (long threhsold)
  Sets the collection usage threshold of this memory pool to the given threshold value.
public void setUsageThreshold (long threshold)
  Sets the threshold of this memory pool to the given threshold value if this memory pool supports the usage threshold.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar