public static enum AbstractGCEvent.Generation extends Enum<AbstractGCEvent.Generation>
| Enum Constant and Description |
|---|
ALL |
OTHER
special value for vm operations that are not collections
|
PERM
also used for "metaspace" that is introduced with java 8
|
TENURED |
YOUNG |
| Modifier and Type | Method and Description |
|---|---|
static AbstractGCEvent.Generation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractGCEvent.Generation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractGCEvent.Generation YOUNG
public static final AbstractGCEvent.Generation TENURED
public static final AbstractGCEvent.Generation PERM
public static final AbstractGCEvent.Generation ALL
public static final AbstractGCEvent.Generation OTHER
public static AbstractGCEvent.Generation[] values()
for (AbstractGCEvent.Generation c : AbstractGCEvent.Generation.values()) System.out.println(c);
public static AbstractGCEvent.Generation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.