public enum GarbageCollector extends Enum<GarbageCollector>
| Enum Constant and Description |
|---|
G1GC |
ParallelGC |
ParNewGC |
SerialGC |
Undefined |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static GarbageCollector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GarbageCollector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GarbageCollector Undefined
public static final GarbageCollector SerialGC
public static final GarbageCollector ParallelGC
public static final GarbageCollector ParNewGC
public static final GarbageCollector G1GC
public static GarbageCollector[] values()
for (GarbageCollector c : GarbageCollector.values()) System.out.println(c);
public static GarbageCollector 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 nullpublic String getValue()
Copyright © 2018–2024 Red Hat. All rights reserved.