Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.lang.management.MemoryUsage

Packages that use MemoryUsage
Package Description
java.lang.management Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. 
 

Uses of MemoryUsage in java.lang.management
 

Methods in java.lang.management that return MemoryUsage
Modifier and Type Method and Description
static MemoryUsage MemoryUsage.from(CompositeData cd)
          Returns a MemoryUsage object represented by the given CompositeData.
 MemoryUsage MemoryPoolMXBean.getCollectionUsage()
          Returns the memory usage after the Java virtual machine most recently expended effort in recycling unused objects in this memory pool.
 MemoryUsage MemoryMXBean.getHeapMemoryUsage()
          Returns the current memory usage of the heap that is used for object allocation.
 MemoryUsage MemoryMXBean.getNonHeapMemoryUsage()
          Returns the current memory usage of non-heap memory that is used by the Java virtual machine.
 MemoryUsage MemoryPoolMXBean.getPeakUsage()
          Returns the peak memory usage of this memory pool since the Java virtual machine was started or since the peak was reset.
 MemoryUsage MemoryPoolMXBean.getUsage()
          Returns an estimate of the memory usage of this memory pool.
 MemoryUsage MemoryNotificationInfo.getUsage()
          Returns the memory usage of the memory pool when this notification was constructed.
 

Constructors in java.lang.management with parameters of type MemoryUsage
Constructor and Description
MemoryNotificationInfo(String poolName, MemoryUsage usage, long count)
          Constructs a MemoryNotificationInfo object.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.