This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


java.lang.management
enum MemoryType

java.lang.Object extended by java.lang.Enum extended by java.lang.management.MemoryType
All Implemented Interfaces:
Serializable, Comparable

public final enum MemoryType
extends Enum

Types of {@link MemoryPoolMXBean memory pools}.


Field Summary
static MemoryType HEAP
          Heap memory type.
static MemoryType NON_HEAP
          Non-heap memory type.
 
Method Summary
 String

          Returns the string representation of this MemoryType.
static MemoryType

          
static MemoryType[]

          
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEAP

public static final MemoryType HEAP
Heap memory type.

The Java virtual machine has a heap that is the runtime data area from which memory for all class instances and arrays are allocated.


NON_HEAP

public static final MemoryType NON_HEAP
Non-heap memory type.

The Java virtual machine manages memory other than the heap (referred as non-heap memory). The non-heap memory includes the method area and memory required for the internal processing or optimization for the Java virtual machine. It stores per-class structures such as a runtime constant pool, field and method data, and the code for methods and constructors.

Method Detail

toString

public String toString()
Returns the string representation of this MemoryType.

Overrides:
toString in class Enum
Returns:
the string representation of this MemoryType.

valueOf

public static MemoryType valueOf(String name)
Parameters:
name

values

public static MemoryType[] values()


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.