API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang.management. MemoryNotificationInfo View Source
Author(s)
Mandy Chung
Since
1.5
Version
1.8, 03/08/06
Serial
Hierarchy
 Object
      MemoryNotificationInfo
Implements
Subclasses
Description
public class MemoryNotificationInfo
  The information about a memory notification.
See also:   
Constructors
pack-private MemoryNotificationInfo (CompositeData cd)
public MemoryNotificationInfo (String poolName, MemoryUsage usage, long count)
  Constructs a MemoryNotificationInfo object.
Methods
Hide/Show inherited methods
publicstatic MemoryNotificationInfo from (CompositeData cd)
  Returns a MemoryNotificationInfo object represented by the given CompositeData.
public long getCount ()
  Returns the number of times that the memory usage has crossed a threshold when the notification was constructed.
public String getPoolName ()
  Returns the name of the memory pool that triggers this notification.
public MemoryUsage getUsage ()
  Returns the memory usage of the memory pool when this notification was constructed.
Fields
Hide/Show inherited fields
publicfinalstatic String MEMORY_COLLECTION_THRESHOLD_EXCEEDED = "java.management.memory.collection.threshold.exceeded"
  Notification type denoting that the memory usage of a memory pool is greater than or equal to its collection usage threshold after the Java virtual machine has expended effort in recycling unused objects in that memory pool.
publicfinalstatic String MEMORY_THRESHOLD_EXCEEDED = "java.management.memory.threshold.exceeded"
  Notification type denoting that the memory usage of a memory pool has reached or exceeded its usage threshold value.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar